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 generate 100,000 prime numbers

Write a POSIX C/C++ program to generate 100,000 prime numbers. Assume that the program will be run on a computer with 5 CPUs and that your goal is to have this program finish as quickly as possible.

  To use a sentinel loop so once the value of -99 i

modify this program to use a sentinal loop so once the value of -99 is entered after getting the pay and hours the program should end.

  Prepare a program that uses the pthread library

Prepare a C/C++ program that uses the PTHREAD library to create threads and mutexes to synchronize them.

  First display the smallest volume and then the largest volum

first display the smallest volume and then the largest volume.

  Program to print out invalid number to character

The integer must contain 3 distinct non-zero number, or the program will print out invalid number.it should print out invalid query.

  Function that returns the height of a binary tree

Write a function called getHeight() that returns the height of a given binary tree - CptS 122 Write a function called countSmallerThan() that returns the number of nodes whose values are smaller than the supplied input paramter

  Prompt the user for and read 6 numbers

Write a program using an array that will store input data. Prompt the user for and read 6 numbers between 70 and 90. Verify the numbers should be greater than 70 and less than 90. If the number is less than or equal to 70 or greater than 90, repro..

  The process function will then need

The process function will then need to find the time the person waited by calling the time function and finding the difference between the start and end timestamps. Save this time to an accumulator so that in the end you can find the average wait tim..

  Write program in c to calculate diameter-compression load

Write a program in C to calculate diameter in centimeters of steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.

  Write a program that allows users to enter a dollar amount

Write a program that allows users to enter a dollar amount for their bank account balance at the beginning of the month.

  Data from the file grocery.dat

Read the data from the file Grocery.dat and assign values to the 10  GroceryItem  objects. Next display these items to allow a customer to select grocery items from the list and indicate the quantity of that item he or she would like to order. When t..

  Lu decomposition with gauss elimination

The LU decomposition with Gauss elimination and what is the physical interpretation of the elements of ? Write C++ programs for steps 2, 3, and 4.

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