Question: TASK 2 - if-else statement ( 5 marks): Write a Ct+ program to ask the user to enter the time in 24 hours format (for

 TASK 2 - if-else statement ( 5 marks): Write a Ct+

TASK 2 - if-else statement ( 5 marks): Write a Ct+ 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)

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!