Question: Questions: 1. make a program that will accept an integer and execute one of the following based on the input using IF statements: a. If
Questions: 1. make a program that will accept an integer and execute one of the following based on the input using IF statements: a. If 0, display only "Hello World". b. If 1, display only "I am Groot". c. If 2, display only "To the Top". d. If 3, display only "Where is the horizon". e. If 4, display only "I do not know". f. If none of the above, display only "Yeah, I will.". 2.make program that will accept an integer and execute one of the following based on the input using SWITCH statements: a. If 0, display only "Hello World". b. If 1, display only "I am good". c. If 2, display only "To the Top". d. If 3, display only "Where is the horizon".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
