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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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