Answered You can hire a professional tutor to get the answer.
code a program to read a floating point value from standard input, then output the largest integer smaller than or equal to this value; the nearest
- code a program to read a floating point value from standard input, then output
- the largest integer smaller than or equal to this value;
- the nearest integer to this value, with halfway values rounded away from zero;
- the smallest integer larger than or equal to this value
- The output integers should be separated by a space character and followed by a newline character.
- The output values should not have any trailing zeros: e.g. "2" not "2.0".
- Sample input:
3.1415
- Corresponding output:
3 3 4
programming in c (not c++)