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

  Use of various bash commands

Assignment On: This work will require scripting the use of various bash commands and / or small programs that involve directory and file structures.

  Create a rexx program

Create a REXX program that asks a user for four separate lines of input, and then outputs those lines all at once, one line at a time

  All variables that aren''t numeric variables

All variables that aren't numeric variables

  Prepare a flowchart that is also a fully functional program

Using Visual Logic, design a flowchart that is also a fully functional program to add functionality to the online shopping cart. According to your design, the program must.

  Track of position of a point in three-dimensional space

Specify, implement and design a class that can be used to keep track of position of a point in three-dimensional space. For example consider the point drawn at the topof the next coloumn. The point shown there has three coordinates

  Design the program so that it automatically counts

Label all output, and design the program so that it automatically counts the respondents.

  Write class to represent temperatures in degree and celsius

Write a Temperature class that represents temperatures in degrees in Celsius, Fahrenheit and Kelvin. Use a floating-point number for the temperature and a character (type char) for the scale.

  Create a class which holds account number

Create a class named Loan which holds the account number, name of account holder, amount borrowed, term, and interest rate. Include methods to set values for each data field.

  Functioning program that addresses behavioural design

ITECH2100 / ITECH6100. Task-2: Code a functioning program that addresses the behavioural and additional design requirements Write the classes that you have determined are needed to make a functioning program

  Research on dynamic arrays

Write a 2 page research paper (excluding title and reference pages) on dynamic arrays. Explain the concepts discussed in the textbook using at least an example not included in the textbook.

  The collection of internet-connected computers

The collection of Internet-connected computers that translate domain addresses into IP addresses

  Create unix shell script to input number of hours worked

Create a Unix shell script to input number of hours worked and pay rate and compute the total pay, then the social security amount (assume 5%), then the net pay.

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