Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C# program that will save a student's points in all subjects and then the program will make a nice printout of the student's

Write a C# program that will save a student's points in all subjects and then the program will make a nice printout of the student's grades.

The following applies:

Declare all variables and write a welcome message. Use the following fields (array) in your program. If you write the code in C #:

string [] subjects = {"Mathematics", "Swedish", "English", "History", "Physics"}; int [] point = new int [5]; char [] rating = new char [6];

Write a method ReadPoints to read the student's grade points in the different subjects. You should save the points in an array, vector or list. When the method is called, the user must enter a number of rating points. The grade points to be entered are controlled by the content in the subject field.

Suggestions on how to write the function that loads points in each topic in C #

static void lasPoang (string [] amnen, int [] poang, int n) { // The method takes the arrays of threads and strings int points;

for (int i = 0; i

Write a method that will convert the score into grades according to the scale A-F. The grade A corresponds to 100 points. You must store the grades in a field (array, vector or list).

Rating scale:

90

80

70

60

50 <= points <= 60 = 'E'

points <= 50 = 'F'

Write pseudocode for this method. Also draw flow charts.

Write a method printPrint that makes the printout of the grades. Write a method Statistics that will calculate the number of "A", "C" and "F" grades and the total number of grade points. When the Statistics method is called, the grading statistics must be printed. Write pseudocode for this method. Also draw flow charts.

You do not need to write pseudocode or draw flow charts for the entire program. Compile and run the program.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions