Find Jobs
Hire Freelancers

274020 C++ Function and array program

N/A

In Progress
Posted over 15 years ago

N/A

Paid on delivery
Demonstrate the use of FUNCTIONS and ARRAYS. Write a program that meets the following requirements: 1. Read in a maximum of 50 records, each record will be on a separate line using columns one and two. Example: 26 O1 5H 2. Determine if each record is a positive integer. Keep track of all records that are not positive integers and print a list of them. For all the positive integer data records: 3. Determine the average (mean) rounded to the nearest whole number, median, mode and standard deviation. 4. Compute the difference between each of the positive integers and the mean and store the difference in an array corresponding to the original integer number. 5. Determine which of the integers deviate's the most from the mean, print the number and how much it deviates. 6. Print the original list of integers along side the list of integers sorted from the lowest to the highest. 7. Print a bar graph indicating how much each integer deviates from the mean. Use the sorted list of integers to develop the graph. 8. Label and print all of the above findings. Your program must have separate functions to determine each of the following: mean, median, mode, standard deviation, reading of the original data, printing of the invalid records, printing of the valid records, number 6 and 7 above. Your program will have its final test with the integers from the data file C:\[login to view URL]
Project ID: 2020304

About the project

Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
Davison, United States
5.0
12
Payment method verified
Member since Dec 16, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.