Question: This needs to be able to run in visual basic progamming. Create a program that allows the user to enter two integers. The program should
This needs to be able to run in visual basic progamming.
Create a program that allows the user to enter two integers. The program should determine which value
is larger than the other, or if the values are equal to each other. Before comparing the numbers,
determine if each one is a valid number. If an error is found, display an appropriate message.
Display the results of the comparison
Add a fourline comment header include: the program name, your name, date, and brief description of
the program
Add comments throughout the program
Use variables to represent the numbers and the answer
SAMPLE OUTPUT:
Enter a number:
Enter another number:
The second number is greater than the first number.
is greater than
NEEDED:
Decision statement
Variables
Error checking
Printing for the results
Error message
Comments
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
