Reference no: EM13973551
You must use the following skeleton code attached main.cpp
When writing the program remember what kinds of data and all the topics discussed in Chapters 2 through 5. You need good prompts, good data choices and good output. Design good test cases to test your program.
The logic needed here is complex!!! Pseudo code your logic first then work one piece of the code at a time, Don''t forget to ensure the validity of the input.
Create a program to handle a college class grades:
Capture the Teacher''s name
Capture the Class designation
The program should ask how many students are in the class and do the following for each student:
Read the students name
Read in up to 10 grades for the student (from 0 - 100 is acceptable. If outside the range don''t use the input, ask for a correction , 999 should stop input of grades if there are less than 10)
Calculate the average of the student''s grades
Compute the student''s grade as a letter grade
For the entire class ?Compute the class''s grade average
Determine how many A''s, B''s, C''s, D''s and F''s are in the class.
Write the following data to a file called class_statistics.txt
Teacher: Bob Marley
Class: CGS1010
Student Name: Jim Beam Average: 88 Grade: B
Donna Jenner 95 A
Student count: 2
Student average: 91.5
A''s: 1
B''s: 1
C''s: 0
D''s: 0
F''s: 0
Attachment:- main.rar
Time when the environmental issue occurred
: What are the laws that were in effect, or should have been in effect, at the time when the environmental issue occurred?
|
Find the height required at point a
: A 1,262-kilogram roller coaster car starts at point A almost at rest. It runs downhill into a valley. At its bottom, the valey can be described by a circle with radius 12 m. Find the height required at point A, such that the normal force acting on ..
|
Historical development of judaism
: Consider the question of whether Judaism is essentially a religion, a race, a culture, or something else. Support your response by making reference to key events, individuals, or beliefs as they relate to the origin and historical development of J..
|
Explain why a row of a matrix a cannot be in its nullspace.
: Explain why a row of a matrix A cannot be in its NullSpace.
|
Create a program to handle a college class grades
: Create a program to handle a college class grades - The program should ask how many students are in the class
|
Discuss the underlying causes of the problems at fannie mae
: Discuss the underlying causes of the problems at Fannie Mae. Should Fannie Mae be owned completely by the government? Explain
|
Effect on greenhouse warming
: Your slides/screens/etc. should also have just the key points of your presentation. The majority of the information should come from your speech. You may either read note cards or presentfrom memory, but do not "read the screen".
|
What period, tangential speed, and centripetal acceleration
: Two 8 kg spheres are attached to the ends of a 85 cm rod. The rod is balanced in the center and spun in a circle. The rod can support a max force of 850 N, what is the max frequency of rotation?
|
Student has thoroughly researched their topic.
: A student reading vastly more than this minimum will be better prepared to discuss the issues in depth and consequently their report is likely to be of a higher quality. So before submitting, please read through the assessment criteria very.
|