Write a program which asks the user to enter a letter grade

Assignment Help Programming Languages
Reference no: EM131321724

Write a program which:

1. Asks the user to enter a letter grade (A, B, C, D, F) or (a, b, c, d, f)
2. Validates that the entry is a letter grade (A, B, C, D, F) or (a, b, c, d, f)
3. The program then asks the user to enter the number of units (INTEGER) of the course, such that: 0 < UNITS < 6
4. Validates that the entry is such that: 0 < UNITS < 6
5. The program then displays the GPA for the course as a decimal number formatted with two decimal places.
6. The user must be asked if he/she wants to continue entering information or quit.
7. Comment your code
8. Use meaningful or mnemonic variable names
9. RESTRICTIONS: no global variables, no GOTO statements

Reference no: EM131321724

Questions Cloud

Economic forecasting staff has developed probability : Merrill Finch's economic forecasting staff has developed probability estimates for the state of the economy, and its security analysts have developed a sophisticated computer program, which was used to estimate the rate of return on each alternative ..
Describe conventions and attributes of your selected genre : Explain genre theory and describe the conventions and attributes of your selected genre. Identify a feature-length film that fits this genre and provide a basic summary of the movie. As you develop this summary, remember the differences between a f..
Develop a disaster recovery plan for hhr : Draw a plan of how you will go about setting up a Disaster Recovery Committee, indicating who will be in it and why. Also send a memo to the committee members telling them about the first organizing meeting, and list out the items to be discussed ..
Write a program which asks the user to enter a letter grade : Write a program which Asks the user to enter a letter grade (A, B, C, D, F) or (a, b, c, d, f) and Validates that the entry is a letter grade (A, B, C, D, F) or (a, b, c, d, f).
Develop a disaster plan for the lab : Based on your plan in (4) above, develop a rescue plan for the lab by developing a list of tools needed by the lab for disaster recovery, when needed.
Demographic trends that underlie the social changes : In a report of 4-5 pages, discuss the following: Demographic trends that underlie the social changes of the past quarter-century and How these demographic trends affect health care in the United States
Money will be in account after you made last payment : You plan to buy a house in 8 years. You want to save money for a down payment on the new house. You are able to place $407 every month at the end of the month into a savings account at an annual rate of 12.17 percent, compounded monthly. How much mon..
Identify three proposals for its capital budget : Compute the net present value of the new machine using the tables in Exhibits 26-3 and 26-4 - What nonfinancial factors should EnterTech consider?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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