Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Task: You want to calculate a student's GPA for a number of classes taken by the student during a single semester. (In C# (C sharp))

Inputs: 1. the student's 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 student's name and the GPA (decimal point number with 2 decimal places) achieved by the student that semester.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M93137853

Have any Question?


Related Questions in Computer Engineering

A confidence interval for a population mean is to be

A confidence interval for a population mean is to be estimated. The population standard deviation is guessed to be anywhere from 14 to 24. The half-width B desired could be anywhere from 2 to 7. Tabulate the minimum samp ...

What is the difference between dekkers algorithm and igloo

What is the difference between Dekkers Algorithm and Igloo approach? Please provide examples that can explain this.

Need help with the following 2 problems1 they offer you a

Need help with the following 2 problems: 1. They offer you a promissory note with a four-year maturity, which will generate $ 3,000 at the end of each of the four years. Its price is $ 10,200. What is the implicit annual ...

Kirk inc has come out with a new and improved product and

Kirk Inc. has come out with a new and improved product, and is expected to have an ROE of 14.4%. It will maintain a plowback ratio of 30%. Investors expect a 6.3% rate of return on the stock. (a) At what P/E ratio would ...

The local police department must write an average of 5

The local police department must write an average of 5 traffic tickets each day to keep department revenues at budgeted levels. Suppose the number of tickets written per day follows a Poisson distribution with a mean of ...

Question 1-what is cost and benefit analysis explain the

Question: 1- What is cost and benefit analysis? Explain the two different types of costs and two different types of benefits. 2- Discuss root-cause analysis as a BPA activity. What are the strengths and limitations of th ...

Question need a discussion post of 500-700 words in apa

Question: Need a discussion post of 500-700 words in APA format with 4 references & citations. Only For Dr. Silvercoast Which of these principles can you apply at your workplace? Select one or two and provide examples. O ...

On the spot courier services grew and changed over the

On the Spot courier services grew and changed over the years. At first, Bill received requests for package pickups on his mobile phone, recorded that information in a log, and would then drive around to retrieve all the ...

Discuss the importance functionality and role of a

Discuss the importance, functionality, and role of a GateKeeper or VoIP server in a VoIP -deployed network?

Stock portfolio gui projectgoalyou are to write a gui

Stock Portfolio GUI Project Goal You are to write a GUI program that will allow a user to buy, sell and view stocks in a stock portfolio. For example, you might track the profit or loss on the trades. You might allow for ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As