Question: TASK 1 - if statement (10 marks): Write a C++ program to print the cube of a number if it is in between 5 to
TASK 1 - if statement (10 marks): Write a C++ program to print the cube of a number if it is in between 5 to 10 . The user need to enter the number by the keyboard. You must demonstrate 2 outputs (the first to indicate the entered number and the second to show the calculated cube output), thus the \{\} must be used in the program. Show the program output for both TRUE and FALSE cases. You must use if statement in the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
