Give the highest test score and the name of the students

Assignment Help Computer Engineering
Reference no: EM1334485

I need a C++ program that reads students' names followed by their test scores. The program should output each student's name followed by the test scores and the relevant grade. It should also find and print the highest test score and the name of the students having the highest test score.

Student data should be stored in a struct variable of the type studentType, which has four components: studentFName and studentLName of the type string, testScore of the type int (testScore is between 0 and 100), and grade of the type char. My class has 20 students. Use an array of 20 components of the type studentType.

The program must contain at least the following functions:
a.) A function to read the students' data into the array.
b.) A function to assign the relevant grade to each student.
c.) A function to find the highest test score.
d.) A function to print the names of the students having the highest test score.

The program must output each student's name in this form: last name followed by a comma, followed by a space, followed by the first name, and the name must be leftjustified. Moreover, other than declaring the variables and opening the input and output files, the function main should only be a collection of function calls.

In addition I need to output the execution result to a file say a possibility could be (C:Prorgram FilesMicrosoft Visual StudioVC8> and I also need to be able output the result to the screen and capture the screen shot of the execution result.

Reference no: EM1334485

Questions Cloud

Make a list of files that are world-writable : make a crontab to perform the tasks listed below at the frequencies specified. Note that you do NOT need to write the actual scripts.
Hr evaluation for kudler foods : Show how the compensation of each job aligns with the new strategy and will enhance performance
Illustrate what special problems are faced by eastern europe : Illustrate what special problems are faced by eastern european economies as they make the transition from central planning to competitive markets.
Domestic internal scale economies : Why do you think that if an industry were operating under conditions of domestic internal scale economies.
Give the highest test score and the name of the students : I need a C++ program that reads students' names followed by their test scores. The program should output each student's name followed by the test scores and the relevant grade. It should too find out and print the highest test score and the name o..
Describe a signaling pathway deregulated in cancer : Describe a signaling pathway deregulated in cancer that involves pRb and p53 as players.  Have any advancements been made in the understanding of these pathways since the provided review was written?
The primary goal of a corporation : The primary goal of a corporation is to maximize shareholder value.
Illustrate what is the biggest economic concern for argentin : Illustrate what is the biggest economic concern for Argentina, like unemployment or population.
Strategic decisions : Why are strategic decisions different from other types of decisions?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Recognizing the error

Make out error in the following given code:#include //Line 1 using namespace std; //Line 2

  What sorts of network servers and resources

What sorts of network servers and resources.

  Function to input the 20 integers in the range of 1 to 6.

In C Write down the main function in order to input the 20 integers in range of 1 to 6. Write down a function in order to count number of times the numbers 2 and 5 occur.

  Difference between odbc and jdbc database interfaces

Why is it important to have effective and powerful interfaces like these for databases.

  Benefit of web-based computing environment

Web-based applications like e-commerce and e-government exemplify the platform shift from the client/server computing to the Web-based computing so for this essay question.

  Write down program using c language programming

Write down program using C language programming.

  Design program using switch statements in visual basic

design program using switch statements in Visual Basic.

  What changes will you suggest for hydro-quebec and why

explain the external factors and internal factors affecting change in IT management at Hydro-Quebec.

  How using the sequence structure only

As you know, three fundamental control structure are sequence, selection and repetition. Can you write down C program using the sequence structure only.

  Program for translates letter grade into number grade

Write down a program which translates the letter grade into number grade.

  Operation for circular linked list

Write down an algorithm or code segment for searching the circular linked list for a given item. Write down an algorithm or the code segment for locating nth successor of an item within a circular linked list (nth item which follows the given item ..

  Stop and wait arq

Porter’s Competitive Forces Model may be used in order to assess the opportunities and threats because of the influence of Internet.

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