Question: help me with coding TASK 1 - if statement ( 10 marks): Write a C++program to print the cube of a number if it is

help me with coding
help me with coding 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. Answer (show your program and the output):
Prepared by Dr. Mohd Sharizal Alias (SCTL 202220) TASK 2 - if-else
statement ( 5 marks): Write a C++ program to ask the user
to enter the time in 24 hours format (for example 1400 for

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. Answer (show your program and the output): Prepared by Dr. Mohd Sharizal Alias (SCTL 202220) TASK 2 - if-else statement ( 5 marks): Write a C++ program to ask the user to enter the time in 24 hours format (for example 1400 for 2 pm). Based on this time entrance, the program will declare either Sabah Al Khayr (good morning) or Misa Al Hhayr (good evening). You must use if-else statement in the program. Answer (show your program and the output): Prepared by Dr. Mohd Sharizal Alias (SCTL 202220) TASK 3 - if-else-if statement (total 10 marks): Write a C++ program to ask the user to enter an exam mark. Based on this mark, the program will grade the mark as below: >=90mark(GradeA)>=80mark(GradeB)>=70mark(GradeC)>=60mark(GradeD)

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!