Write a program to sort the student names

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

Program Description:

Write a program to sort the student's names (ascending order), calculate students' average test scores and letter grades (Use the 10 point grading scale). In addition, count the number of students receiving a particular letter grade.  You may assume the following input file data:

Johnson 85 83 77 91 76

Aniston  80 90 95 93 48

Cooper 78 81 11 90 48

Gupta 92 83 30 69 87

Muhammed 23 45 96 38 59

Clark 60 85 45 39 67

Patel 77 31 52 74 83

Abara 93 94 89 77 97

Abebe 79 85 28 93 82

Abioye 85 72 49 75 63

1. Use four arrays: a one-dimensional array to store the students' names, a (parallel) two dimensional array to store the test scores, a one-dimensional array to store the student's average test scores and a one-dimensional array to store the student's letter grades.

2. Your program must contain at least the following functions : 

a. A function to read and store data into two arrays, 

b. A function to calculate the average test score and letter grade,

c. A function to sort all the arrays by student name, and 

d. A function to output all the results (i.e. sorted list of students and their corresponding grades)  

e. Have your program also output the count of the number of students receiving a particular letter grade.  

NOTE : No non-constant global variables are to be used. You can name the arrays and functions anything you like. You can use the operator >= to sort the strings.

Reference no: EM132432100

Questions Cloud

Compare two implementations of a priority queue : Compare two implementations of a priority queue whose highest priority element is the one with the smallest key value.
Write a function called readfloatmap that reads : Write a function called readFloatMap that reads from a text file, stores its contents in a 2D array, and returns the number of lines it reads.
What is the total compensation expense : The requisite service period is five years with 20% of the options vesting each year from 2017 to 2021. What is the total compensation expense
What is the goal of terrorism : Is ISIS an insurgency or a terrorist organization. Explian why? What is meant by "terrorism is just war by other means?"Describe the "duality" of terrorism.
Write a program to sort the student names : Write a program to sort the student's names (ascending order), calculate students' average test scores and letter grades (Use the 10 point grading scale).
Industry and market analysis for individual project firm : Reaching back to your competitor, industry and market analysis for your individual project firm, WHAT IS ITS SPECIFIC NICHE?
Who must bear the loss of the various goods : Willow is your client and seeks your advice as to who must bear the loss of the various goods. Give reasons for your conclusions
Find the smallest value and then subtract : Thus, find the smallest value, and then subtract it from all three values, thus removing the gray.
What are the main differences between Finance and Accounts : What are the main differences between Finance and Accounts? Describe the 3 types of Accounting with special emphasis on the roles performed in each

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write program that asks the user to enter two decimal number

Write a program that asks the user to enter two decimal numbers. The program should display the larger of the two numbers. Use a function Max() to find the larger number.

  Write c++ programs

Write a C++ program to accept distance in kilometers, coverts it to meters and then displays the result. Write a C++ program to find area and circumference of a circle.

  Create an output showing a mortgage table for monies

Create an output showing a Mortgage Table for monies you have borrowed. Given the amount of a mortgage, the rate of interest being charged, the monthly payment.

  A file (complex.txt) which has a number of complex numbers

Read in a file (complex.txt) which has a number of complex numbers in the form of a+bi (e.g. 3+5i  2-3i etc).

  What are the values of sum1 and sum2

If the operands in the expressions are evaluated right to left?

  Write function named enough that takes one integer argument

Write a function named "enough" that takes one integer argument, call it "goal" and returns as its value the smallest positive integer n for which 1+2+3+. . . +n is at least equal to goal .

  Evaluate the effect of the herbal remedy echinacea

A study designed to evaluate the effect of the herbal remedy Echinacea purpurearandomly assigned healthy children 2 to 11 years old to receive either Echinaceao

  Program that prompts the user to input

Write a program that prompts the user to input three numbers.

  What is overriding a member function

What is overriding a member function in c++? How do you do it? Why do you it?

  What is printed by the following program

What is printed by the following program?

  Techniques for information hiding and encapsulation

What techniques did you utilize for information hiding and encapsulation? Are there any improvements you would make? If so, what would they be?

  List the vertices in the graph

List the vertices in graph A in the reverse order of their visit (finish) time for a depth-first search that starts at vertex A. Repeat the process, and produce a different list by assuming that the scan accesses neighbors in a different order.

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