Question
PLEASE USE VISUAL LOGIC PROGRAM WHEN ANSWERING THIS !!!!!!!!!!!!!!!! General Instructions You will create one .vls file. ONLY ONE FILE may be turned in for
PLEASE USE VISUAL LOGIC PROGRAM WHEN ANSWERING THIS !!!!!!!!!!!!!!!!
General Instructions You will create one ".vls" file. ONLY ONE FILE may be turned in for the assignment. If you make a mistake and need to turn in your work again, you may do so. I will only grade the latest file you turn in. The older ones will be ignored. The Assignment Design the logic for a program that allows the user to enter a maximum of 10 numbers. If the use enters a -1 the input loop stops early. The value -1 is not data but a quit flag value that is not entered into the array. Then the program displays the count of the numbers entered and numeric average of the numbers (not including the -1 of course). After display the average of all the entered numbers, the program will then display each number and its difference from that average. In Visual Logic use console I/O. Here is one example of what the program I/O might look like: Please enter a number: 5 Please enter a number: 4 Please enter a number: 1 Please enter a number: 2 Please enter a number: 3 Please enter a number: 6 Please enter a number: 5 Please enter a number: 2 Please enter a number: 1 Please enter a number: 2 Number of entries: 10 The numeric average is: 3.1 5 1.9 4 0.9 1 -2.1 2 -1.1 3 -0.1 6 2.9 5 1.9 2 -1.1 1 -2.1 2 -1.1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started