mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-11-27 02:25:37 +00:00
13 lines
167 B
C
13 lines
167 B
C
#include <math.h>
|
|
#include <stdio.h>
|
|
|
|
int main() {
|
|
double n;
|
|
|
|
scanf("%lf", &n);
|
|
|
|
printf("%d %d %.5lf\n", (int)ceil(n), (int)floor(n), n);
|
|
|
|
return 0;
|
|
}
|