2. Then add the math.h header file and add the main function.
3. Then define the number of variables of type double.
4. Then define down and up variables and round them down with floor.
5. Then round with ceil, and finally print the result with printf.
6. Finally run the program and see the results, as shown in the figure below, and it is finished.