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

  Create a procedure that returns the last n items in the list

Create a procedure that returns the last n items in the list lst. Create a procedure called (combine-four lst1lst2 lst3 lst4) that combines 4 lists into one list, in order of the given input lists.

  Linked list in c++

If the following C++ code is valid, show the output. If it is invalid, explain why.

  Problem on c++ tools

When working in teams (at most two students per team), send one solution file per team.

  Create a friend class

Create a Friend class that contains a first name, last name, a birthday, and a telephone number. Create a Contacts class that contains an array of Friend as well as the owner's name and cell phone Number.

  Locate an article about object modeling

Search the Web for online "trade magazines" related to computers and technology. Locate an article about object modeling. To be considered current, the article must have been published within the last 90 days. Anything older is considered out-date..

  Specifications for the first draft

Submit a first version of your MyClone class. Your MyClone class should have instance variables firstName and lastName. The firstName and lastName instance variables will hold your first and last names. You will demonstrate your understanding of e..

  What''s a more efficient way to write

What's a more efficient way to write this function for a matrix? This one has to go through all the numbers, but that would take too long. r_num is row and c_num is column

  Difference between classes and struct in c++

what's the difference between classes and struct in c++?

  Where are numeric constants called the coefficients

Add an evaluate operation to your Polynomial class that allows the user to enter a value for x and that calculates the value of the polynomial for that value.

  Creating class perform computation and display results

Create a class named Numbers whose Main() method holds two integer variables. Assign values to the variables. Within the class, create two methods, Sum () and Difference (), that compute the sum of and difference between the values of the two vari..

  Write a function that takes an integer array

1. Write a function that takes an integer array and the array's size as parameters. The function will check if the array is sorted. If it is, it will return a 1. If it is not sorted it will return 0. The function should not  sort the array.

  Convert degrees celsius to fahrenheit

A c++ program with two functions:  The first function converts degrees Celsius to Fahrenheit, the second function converts Fahrenheit to degrees Celsius. The user should be prompted  to choose two options;- "1. Convert degrees Celsius to Fahrenheit"

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