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 four-line 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: 4
Enter another number: 8
The second number is greater than the first number.
8 is greater than 4.
NEEDED:
Decision statement
Variables
Error checking
Printing for the results
Error message
Comments
 This needs to be able to run in visual basic progamming.

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!