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
Get step-by-step solutions from verified subject matter experts
