بيان المشكلة
Write a program that rounds a number down to the nearest integer using floor.
DEMO-C-32 • Programming in C
Write a program that rounds a number down to the nearest integer using floor.
A single floating-point number.
The floor value formatted to 0 decimal places (integer).
Submit runs every public testcase in this browser. Results and code never leave this device.
2.3
2
-2.3
-3
5.0
5
-0.1
-1
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question