Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help writing a programming using C only. No C++ can be used. Statistics Calculator Write a program that reads a text file of

I need help writing a programming using C only. No C++ can be used. image text in transcribed
Statistics Calculator Write a program that reads a text file of numbers as input, calculates statistics, and displays those statistics to the terminal screen. The input to your program should be a user specified text file. In other words, obtain the name of the input file at run time from the user of the program. Protect your program against crashes that might be caused by a bad file name. Each number in the input text file will be listed on a separate line. Highest value, lowest value, mean, median, and standard deviation are the required statistics. Details of each statistic are listed below. High Value Low Value Mean Median Standard Deviation ,r = = 7l The standard deviation is a measure of The largest numerical The smallest numerical The arithmetic mean value of a set The median is the (commonly referred to as number in the middle of how widely values are dispersed from the "average") value of a set the average value (the mean). a set of numbers (if there are even numbers of values in the set, then calculate the average of the two numbers in the middle The program should be modular. The following nine functions (with respective inputs and outputs) are required as part of your solution: List of numbers Length of list- -List of numbers -Length of list Max Maximum value Getlnput Maximum value -List of numbers Length of list Min Minimum value-Minimum v Hean value- DisplayStats Median value- deviation -List of nunbers- Mean Mean value- -Length of list standa -List of number- -List of numbers- Median Median value--> Sum Length of list- Length of list- -List of nunbers -List of numbers StdDevP -standard deviation Sort -sorted list- Length of list- Length of list

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

How To Build A Million Dollar Database

Authors: Michelle Bergquist

1st Edition

0615246842, 978-0615246840

More Books

Students also viewed these Databases questions

Question

Write formal and informal reports.

Answered: 1 week ago

Question

1. Which position would you take?

Answered: 1 week ago