Develop code to calculate the average of an unknown quantit
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →Develop code to calculate the average of an unknown quantity of numbers.1. Ask the user ‘how many numbers do you want to calculate the average for?’2. enter the numbers ‘one by one’ and calculate the average3. If the user enters -1 at any time, the program should stop and show the result so far.4. finally show the average to user.
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds