Question: Question 4 : Define the following constants: const int FLOOR _ ROUND = 1 ; const int CEILING _ ROUND = 2 ; const int
Step by Step Solution
There are 3 Steps involved in it
To achieve this you can write a C program that uses a switch statement to handle the rounding methods Below is a possible implementation cpp include const int FLOORROUND 1 const int CEILINGROUND 2 const int ROUND 3 int main double number int method stdcout Please enter a Real number stdcin number stdcout Choose your rounding method ... View full answer
Get step-by-step solutions from verified subject matter experts
