Write a program to analyze students course marks

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

Write a program to analyze students course marks. The program should read in students course marks from "m2-grading.txt". The data file has a headline including students ID#, course-1marks, course-2 marks and course-3 markes. The total number of the student listed in the data file is unknow but it should be less than 100.

The program should calculate the maximum, minmum, average marks for each course, Store the data four statistic calculation results for each course to a 2-D(3*3) array. Finally, the program should print out the data from array to a table(an example of the format has been posted below) on screen and to a data file"m2-analysis.txt".

The program should use user defined function for the statistic calculations including maximum, minimum and acerage. It is OK to use more user defined functions in the program.

Course-1 Maximum 98.7 Minmum 45.6 Average 73.6

Course-2 Maximum 96.4 Minimum 55.7 Average65.0

Course-3 Maximum 99.8 Minimum 62.1 Average 78.9

 

 

Reference no: EM13165690

Questions Cloud

Matrix chain multiplication problem : Give an example which shows that in the matrix chain multiplication problem, adding a matrix on the right can force the breakpoint to the left. You can find an example using just 4 matrices
Interactive java program that asks a user for some interest : Create an interactive Java program that asks a user for some text of interest and then displays the first email address found in that text. (This is the basis for one of the programs that spammers use to mine text, such as email messages, Web pages, ..
Write a method called median : Write a method called median that accepts an array of integers as its argument and returns the median of the numbers in the array. The median is the number that will appear in the middle if you arrange the elements in order
Part of your first project : On completion of this course you are hired by the company Tickets R Us. Part of your first project is to develop an application to assist with the selling of tickets. After discussing with your client
Write a program to analyze students course marks : Write a program to analyze students course marks. The program should read in students course marks from "m2-grading.txt". The data file has a headline including students ID#, course-1marks, course-2 marks and course-3 markes.
Describe heat transfer between the gas and the tank : A tank containing carbon dioxide at 400K and 50 bar is vented until the temperature in the tank falls to 300K. Assuming there is no heat transfer between the gas and the tank
Compute the theoretical moles of naoh : calculate the theoretical moles of NaOH that should be necessary to reach the equivalence point
Decimal floating point number : What decimal floating point number does this IEEE 754 single precision number represent: 0x47C0_E6B7?
What would be the ieee 754 double precision binary : What would be the IEEE 754 double precision binary representation of the floating point value 2.71828×10-13? Express your final answer as a 16-hexdigit number and explain how your answer was obtained for full credit.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Program to output value of tenth component of array

Write a C++ statements to perform the following: Set value of fourth component of array alpha to three times  value of eight component minus 57.

  Write a program that will be used to gather statistical data

Write a program that will be used to gather statistical data about the number of movies

  Public transport fare ticketing system

Implement and test a public transport fare ticketing system.

  Program that can serve as a simple calculator

Write a program that can serve as a simple calculator. This calculator keeps track of a single number (of type double) that is called result and that starts out as 0.0. Each cycle allows the user to repeatedly add, subtract, multiply, or divide by..

  Recognition of the problem by the hsbc

What problem did the HSBC face in this case? What people, technology, and the organization factors were responsible for problem? Did HSBC management correctly recognize the problem?

  Program to produce ten random permutations of numbers

In C++(must be able to compile in Visual Studio ): Write a program to produce ten random permutations of numbers 1 to 10.

  Write a program that asks the user to enter two numbers.

Starting Out with C++ Write a program that asks the user to enter two numbers.

  Why does the neverwet spray protect it from water

As is know, acetone is a polar molecule like water, so isn't it suppose to mix? So my question is: why does the Neverwet spray protect it from water but not from oils and detergents?

  Two types of constructors

Explain what constructors do and when they are executed. Explain the two types of constructors. Provide an example class that includes both types of constructor functions and demonstrate how an object would be instantiated using both types of constru..

  Properly store the number from variable value

1. Statement will properly store the number from variable  value  into the output file object AnsFile?

  Submap that accepts two maps from strings

Write a method called subMap that accepts two maps from strings to strings as its parameters and returns true if every key in the first map is also contained in the second map and maps to the same

  A company that market is publishing both book and audio cass

A company that market is publishing both book and audiocassette versions

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