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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!