Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

DO NOT USE PACKAGES write a student marks calculation application to ask the user for a list of marks of students which should be entered

DO NOT USE PACKAGES
write a student marks calculation
application to ask the user for a list of marks of students which should be entered
using the keyboard.
The numbers should be entered one at a time. You should devise a way for the user
to tell the application that all the numbers have been entered. Hint: use a loop.
The application should tell the user how many numbers they have entered and then
present a menu of choices as follows:
1. Print the mean of the numbers
2. Print the median of the numbers
3. Print the mode of the numbers
4. Go back and enter a NEW set of numbers
5. Exit the application
Part 2
Add more functionality as follows:
1. Allow only numbers to be added, give an error message to the user prompting
them to enter the value again.
2. Check that at least two numbers have been added before presenting the menu.
3. Find the skewness of the values in the list
Part 3
Add more functionality as follows:
1. Allow multiple numbers to be added as a string with the numbers separated by
commas (as well as individually). Hint: you will need to check whether a number entered
contains one or more commas.
2. Add another menu choice to enter more numbers (to the ones already entered).
3. Add the functionality to read the data file from the computer hard-drive
Comments in the Code is very important
You are required to write comments within the code to explain it line by line.
DO NOT USE PACKAGES I REPEAT DO NOT USE PACKAGES (dont import)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Explain all drawbacks of application procedure.

Answered: 1 week ago