double floor(double x);
#include<stdio.h> #include<math.h> int main() { double m = 6.123; //為變數賦初值 double n = floor(m); //求不大於m的最大整數 printf("%lfn", n); return 0; }