Question: 1. Learn to use an if statement to make a decision. Ser Description: Write a program that asks the user for two numbers. The program

 1. Learn to use an if statement to make a decision.

1. Learn to use an if statement to make a decision. Ser Description: Write a program that asks the user for two numbers. The program should tell the user which one is bigger. Instructions: Follow the following steps to implement your solution: 1. Ask the user for the first number, 2. Store the response in a variable. 3. Ask the user for another number. 4. Store the response in a separate variable. 5. If the first number is larger than the second number, display a message indicating that 6. If the second number is larger than the first number, display a message indicating that. 7. If they are the same, then display a message indicating that. Here's what a sample run could look like: Enter the first number: 8 Enter the second number: 9 9 is bigger than 8

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!