Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with the following C# project: Purpose: C# Programming Project #2 Gain experience using C# to code decision points, switch and Loops. Project

I need help with the following C# project:

Purpose: C# Programming Project #2 Gain experience using C# to code decision points, switch and Loops. Project should be accomplished using a Console Application Not Windows Scenario: You want to calculate a students GPA (Grade Point Average) for a number of classes taken by the student during a single semester.

Inputs:

1) The students name.

2) Class names for the classes taken by the student.

3) Class letter grade for the classes taken by the student.

4) Class credit hours for the classes taken by the student.

Processing: 1. Accept and process classes until the user indicates they are finished.

2. Accumulate the number of credit hours taken by the student.

3. Calculate the total number of points earned by the student as: a. For each class calculate the points by multiplying the credit hours for that class times the numeric equivalent of the letter grade. (A=4.0, B=3.0, C=2.0, D=1.0, F=0) b. Total all points for all classes.

4. Calculate the GPA as the total number of points divided by the total credit hours.

Output: Display a nicely worded message that includes the students name and the GPA (decimal point number with 2 decimal places) achieved by the student that semester.

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

Current Trends In Database Technology Edbt 2004 Workshops Edbt 2004 Workshops Phd Datax Pim P2panddb And Clustweb Heraklion Crete Greece March 2004 Revised Selected Papers Lncs 3268

Authors: Wolfgang Lindner ,Marco Mesiti ,Can Turker ,Yannis Tzitzikas ,Athena Vakali

2005th Edition

3540233059, 978-3540233053

More Books

Students also viewed these Databases questions

Question

What is Ohm's law and also tell about Snell's law?

Answered: 1 week ago