Write a program that reads from a file a list of course name

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

Write a program that reads from a file a list of course names, letter grades for each course and number of credits each course is worth. The program will read each course name, grade earned and number of credits from the file and print out the course name, grade earned and number of credits for each course to the screen. After the program has read in all of the courses, grades earned and credits, the program should calculate the grade point average based on all of the courses read in by the program.


Notes:
Students who receive an "F" grade earn zero credits for the course but the
grade is still used as part of the GPA calculation
When displaying the GPA, only display up to two decimal points

sample File:

Jane Doe
Chemistry A 4.0
Calculus B 4.0
History C 3.0
Gym A 1.0
English A 3.0

 

 

Reference no: EM13160965

Questions Cloud

Managed care : Talk about Managed Care and why rising exposure to health care costs are threatening the well-being of American families? 200-400 words please.
List two functions of cilia in protists : List two functions of cilia in protists and to relate one or bothof these functions to the ciliated cells of multi-cellularorganisms.
A program called invoice that will prompt the user for items : write a program called invoice that will prompt the user for items on and invoice and then print the total of the invoice
What exactly is the krebs cycle : What exactly is the Krebs cycle? please break it down if you can.
Write a program that reads from a file a list of course name : Write a program that reads from a file a list of course names, letter grades for each course and number of credits each course is worth. The program will read each course name, grade earned and number of credits from the file and print out the course..
Write a method named negative sum : Write a method named negativeSum that accepts a Scanner as a parameter reading input from a file containing a series of integers, and determine whether the sum starting from the first number is ever negative
Describe the lifecycle of plasmodium : Describe the lifecycle of Plasmodium, the parasite that causes malaria.Start with infection. Describe the role of the sporozoites,merozoites, and gamteocytes in the life cycle, and specify whereyou will find each of these forms of the parasite.
Enlightenment in France-Great Britian and German states : What were the major diffeences between the Enlightenment inFrance, Great Britian, and the German states? What were the common themes and aims of the Enlighenmentwritings?
What is the genotypic ratio of blondes : Does anyone know how to solve this question? I've been trying butcan't seem to get it right. If anyone could help me I would greatlyappreciate it.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program for find greatest common divisor

Write code for a recursive implementation of Euclid's algorithm

  Write program that stores the numbers in array

Write a c++ program that stores the following numbers in the array named miles: 15,22,16,18,27,23, and 20. have your program copy the data stored in miles to another array.

  Write a program to crypt its input accordingly

Write a program to crypt its input according to a specified transformation scheme

  Write short c program to develops two processes

Write down a short C program which develops two processes. Each process must repeatedly write its own unique message to test file, one character at time. Do you see garbled messages in the file? Explain why or why not?

  Flipflaps - game based on pancake sorting

The project is to design and write a C++ 11/FLTK game program with a graphical user interface.The game is based on "pancake sorting,", which actually has some mathematical significance.

  Project

Unit 3 Individual Project SSCI210 – 1304B – 01 A typical individual who commits who commits hate crimes whether it is against or aimed at the Gay/lesbian community , the persons of color or the Jewish community, ( I mention these three because they a..

  Write a complete c++ program

The main program will read in a parameter value n (read this in main). Then it will call a function read2arrays (details below) to read lists of grades into two arrays, which the main program will call test1 and test2 (or some other names of your ..

  Write a program that plays a tic-tac-toe game.

Using functional decomposition, write a program that plays a tic-tac-toe game.

  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.

  Sort an array of elements using the quick sort algorithm

Sort an array of 10,000 elements using the quick sort algorithm as follows: sort the array using pivot as the middle element of the array

  Use c-strings without using the c-string library

write a program that implementd and test the following functions for use C-strings without using the c-string libaray  ( that is, you re NOT ALLOWED to use #include in this   program):

  Execute tests and repetitions

Read data from standard input and store them in an array, Execute tests and repetitions

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