Question: 1.Translate the following statements to Visual Basic Code: Declare a variable named pump number as an integer type. Test if it is within the following

1.Translate the following statements to Visual Basic Code:

Declare a variable named pump number as an integer type. Test if it is within the following range: Greater and equal to 1 and smaller and equal to 10, if it is, multiple its value by 13. Now test if it is an even number, if it is, deliver a message to the user, it is a bad number!. If the pump number is not in the range described above, then deliver a message to user, out of range value!

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!