Question: Read in a decimal value. Print out the two integers it is between, smaller value first, with exactly one space in between them. If it
Read in a decimal value. Print out the two integers it is between, smaller value first, with exactly one space in between them. If it is an integer value already, your program should print out the integer twice. Hint: ceiling and floor functions are the tools you need
Step by Step Solution
There are 3 Steps involved in it
To solve this problem lets break it down into steps and use the appropriate mathematical functions s... View full answer
Get step-by-step solutions from verified subject matter experts
