Student average and the class average

Assignment Help C/C++ Programming
Reference no: EM131108917

Part l

The first part of this program should allow the user to enter a student’s last name and five test scores.

The program should accept student data until the word “DONE” is entered for the student name. This data should be printed to the screen in tabular format see below). The data also should be stored in a file. One student data should be stored per line.

 Screen output format

Name                        Test Scores           1       2       3      4         5

Williams                                                   98    87     67    99       87

Smith                                                        88    78     89   76       88

 File output format

Williams   98    87     67    99       87

Smith88    78    89   76       88

Part ll

The second part of this program should read the data from the file. The program should calculate each

Student’s average and the class average. The program print the results to the screen (see below).

Part ll screen output format

Name                   Average

Williams                87.6

Smith                     83.8

Class Average: 85.7

 Be sure to include the required comments as discussed in previous assignments. Remember to turn in a copy the source code and printout of the data file your  program created. Save a copy of the program to the :drive in my inbox

Reference no: EM131108917

Questions Cloud

Compute the earnings before interest and taxes : Compute the earnings before interest and taxes (EBIT) for each level of sales. Compute the earnings per share (EPS) for each level of sales, the expected EPS, the standard deviation of the EPS, and the coefficient of variation of EPS, assuming that t..
Expropriation of foreign assets in china and cuba : You may compare these acts with the expropriation of foreign assets in China and Cuba after these nations experienced communist takeovers.
Eligibility requirement for medicaid in virginia : He qualifies because of age (ABD) (VDSS, 2016).  She does not qualify for Medicaid because she does not meet the criteria above. 1B Income includes Social Security benefits, pensions, wages, interest, dividends, etc. Your countable income must be n..
Identify which methodologies and strategies will implement : Identify which methodologies and strategies you will implement to meet your goals. Provide rationale for why you did not select some of the other methodologies and strategies.
Student average and the class average : The program should accept student data until the word “DONE” is entered for the student name. This data should be printed to the screen in tabular format see below). The data also should be stored in a file. One student data should be stored per line..
What is the unit margin : 1. What is the unit margin (contribution) for Product X (in $)? 2. What is Product X's break-even per unit?
Which of these four candidates would hire for this position : Which of these four candidates would you hire for this position and why? Please state and explain your decision in a one-page summary. Make sure to include a title page. In your summary, be sure to reference course material (readings, lectures, or..
Explore the way in which the inclusion of the momentum : Explore the way in which the inclusion of the momentum constant α influences the learning process, with particular reference to the number of steps required for convergence versus α.
Compute the amount of debt and equity : Charter Enterprises currently has $1 million in total assets and is totally equity financed. It is contemplating a change in its capital structure. Compute the amount of debt and equity that would be outstanding if the firm were to shift to each of t..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  What is the output of the following code

What is the output of the following code

  Why do such companies as ford, federal express

Why do such companies as Ford, Federal Express, Boeing, or Proctor & Gamble put together cross-functional teams?(a)  Because each member has unique knowledge that adds value to the overall decision(b)  Because it is cheaper than hiring consultants

  What language is recommended to learn

What language is recommended to learn for someone interested in programming?

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Create a simple home utility auditing program.

Design, implement, test, and debug a Visual Basic® program to create a simple home utility auditing program.

  Write a program that requires the number of bits

Write a program that requires the number of bits for the exponent and significant of a floating point representation, then requires two decimal real numbers and an operation, sum, subtraction or multiplication.

  Define the cheetah constructor to accept and initialize

Design and implement a class called Cheetah that contains instance data that represents the cheetah's name, age, weight, length and gender.

  Help process applicants for a graduate degree in engineering

In this project, you will build a program used by an admissions office to help process applicants for a graduate degree in engineering.

  Prepare a program to find out the perfect numbers

Write a program in C++ that outputs all perfect numbers and their factors from 1 to 1000 using your own created function - Prepare a program to find out the perfect numbers and it must compile with no errors and follow the directions.

  A charitable organization wants to design a special atm

A charitable organization wants to design a special ATM machine to be used by needy people.   The association supplies the needy person with a pin number to be able to use the ATM machine.   He/she can then retrieve up to $150 per day depending on..

  Create a linked list data structure from scratch

You are to create a Linked List data structure from scratch. This linked list should be Templated so that any data could be stored within it. You will create a Linked List Class and a Node Class

  Write a program that lets the user enter the total rainfall

Write a program that lets the user enter the total rainfall for each of 12 months into an array of doubles. The program should use two 12-element arrays. One array will hold strings, the names of the 12 months. This array will be initialized when ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd