Compute and display the average test score and highest test

Assignment Help Computer Engineering
Reference no: EM132209672

Question :

Write a program that computes and displays the average test score, highest test score and lowest test score of a set of test scores entered by a user. For each student, a user should enter the student's first name and a test score (float).

A user should be able to enter any number of test scores (for example, a user may have 10 test scores, another user may have 100 test scores, and a third user may have 1000 test scores - your program should be able to handle all of these cases).

In addition to computing and displaying on the screen the average, highest, and lowest test scores, the program should write the students' names and their test scores as well as the number of students in the class, and the average, highest, and lowest scores to an output file called "test_Scores.txt". For example, the output file could contain:

John 90

Ann 87

Martin 92.1

There are 3 students in this class.

The average test score is 89.7.

The highest test score is 92.1.

The lowest test score is 87.

You need to submit 3 files through the blackboard: a source code (.cpp file), an output file (.txt file), and the application (.exe file).

Reference no: EM132209672

Questions Cloud

Write a program that emulates the popular lottery game : Write a program that emulates the popular lottery game "Powerball". First ask the user how many times he wants to play.
Read in two numbers from keyboard with instructions : Read in two numbers from keyboard with instructions, one for index, one for the size of the array;
Write a program in which you create a const whose value : Write a program in which you create a const whose value is determined at runtime by reading the time when the program starts
Compute and output the smallest of three numbers entered : Write a program that computes and outputs the smallest of three numbers entered by the user.
Compute and display the average test score and highest test : Write a program that computes and displays the average test score, highest test score and lowest test score of a set of test scores entered by a user.
Compute the maximum number of dimes that could be used : Write a program that computes the maximum number of dimes that could be used to make up a given amount of money.
Write the function append that accepts two c-string argument : Write the function append that accepts two c-string arguments. the second c-string must be copied on to the end of the first c-string.
Write a program that converts pounds to kilograms : Write a program that converts pounds to kilograms. Your program should prompt the user to enter a weight in pounds, convert it to kilograms.
Write a program to compute the jaccard similarity : Write a program to compute the Jaccard similarity between two vertices in an undirected, unweighted graph.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Explain the different types of raid

Explain the different types of RAID, and elaborate on how each type differs:

  Questionfor this module you will require to complete

questionfor this module you will require to complete following tasks. this section will be additional to the end of

  Explain respect to parsing efficiency

Compare the performance of LZ77, LZ78 and LZW with respect to parsing efficiency, dictionary generation, coding efficiency

  Determine how is possible to make maxrow and maxcol

Determine how it is possible to make maxrow and maxcol into variables that the user can set when the program is run.

  Why should duties be segregated

Why should duties be segregated? What if management has inadequate staff to properly segregate all duties?

  Analyze the duties performed by operational team

Operational management means the people who will take care of quality of the products, distribution, and inventory. They have to try for increase the sales.

  Calculation of membership and displays the result

Calculation of membership and displays the result as shown in the below figure. The program should be kept running with entering next set of input data

  Explain the operation of the mips andi instruction

In decimal and in instruction format order, what registers (if any) represent rd, rs, rt? Hint rd is not always used. If you think no registers are used, state it.

  Define properties of modern software development processes

What is meant by these three basic properties of modern software development processes

  In the it field group projects often have strict deadlines

groups will be assigned no later than the end of unit 1. if you wish to be involved in a project-managed group please

  Create a program that asks the user for the number of month

Create a program that asks the user for the number of a month, then creates the array F of (n+1) Fibonacci numbers, and prints the sequence.

  What do you understand by network security threat

What do you understand by network security threat? What tools and Techniques are available to make the nwtwork more secure.

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