Question: Visual Logic Assignment Six Write a program called VLogic6.vis that asks the user to enter an odd integer and runs repeatedly until he/she complies. Thank
Visual Logic Assignment Six Write a program called VLogic6.vis that asks the user to enter an odd integer and runs repeatedly until he/she complies. Thank the user when the input is odd and let the user know if the input is incorrect. Use an endless While Loop and the Exit Loop symbol. The entire program should run in a console window HINI You will need the modulus operator (Mod) to test for an odd number in the IF. This task may stump you at first, but if you really think about how you identify odd numbers, you will succeed. Here is a sample run: Enter an odd integer, ple That is not an odd number. Try again Enter an odd integer, please Good input. Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
