Calculate and output the average grade

Assignment Help C/C++ Programming
Reference no: EM13700016

Question: Program should still ask the user to input a grade integer from 1-100 and then output the letter grade. 

Scale:  Greater than 90 is an "A"; Greater than 80 to 90 is a "B", Greater than 70 to 80 is a "C", Greater than 60 to 70 is a "D", and 60 or less is an "F"

Program should have:

Part 1: A while loop so one does not have to re-start the program with every new grade

Part 2: Use any score less than 0 (zero) as the sentinel to stop the while loop.

Part 3: You need to use If and else statements, not just If statements.

Part 4: Input grade and letter grade should be output to screen with each number grade input.

Part 5: Finally, your application will calculate and output the average grade for students input.

Calculate and output the average grade for students input - Program should still ask the user to input a grade integer from 1-100 and then output the letter grade.

Reference no: EM13700016

Questions Cloud

What were the initial charges on the spheres : Two identical conducting spheres, fixed in place, attract each other with an electrostatic force of -0.3006 N when separated by 50 cm, center-to-center. What were the initial charges on the spheres
How much work does a gas constant pressure : Problem- How much work does a gas do when is expands against a constant pressure of 0.500 atm from a volume of 50.00 ml to a volume of 350.00 ml
Find what is the charge of the particle : The electric field in an xy plane produced by a positively charged particle is 13.7(6.9i + 6.0j) N/C at the point (3.3, 3.3) cm and 105i N/C at the point (5.0, 0) cm. What is the charge (in Coulombs) of the particle
Describe and explain denial of service : Describe and explain Denial of Service (DoS) and Distributed Denial of Service (DDoS) network attacks
Calculate and output the average grade : Program should still ask the user to input a grade integer from 1-100 and then output the letter grade -  your application will calculate and output the average grade for students input.
What is the total charge incident on the atmosphere : The Earth is constantly being bombarded by cosmic rays, which consist mostly of protons. What is the total charge incident on the atmosphere
What is the final temperature of the gas : Expand 1.025 mole of an ideal monatomic gas initially at 5.47 kPa and 642 K from initial volume Vi = 1.00 m3 to final volume Vf = 2.00 m3. What is the final temperature of the gas
What are the major current federal immigration policy issues : For your journal entry, you will explore aspects of your personal experience and/or beliefs regarding significant public policies and what you have learned in your readings. As you reflect, please address the following questions: a.What are the..
What is the change in internal energy of a system : Problem- What is the change in internal energy of a system when is lose 10 kj of heat and 5000 J of work is done on the system

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Design a class named employeerecord

Design a class named EmployeeRecord that holds an employee's ID number, name, and payrate. Include mutator methods to set the values for each data field and output the values for each data field. Create the class diagram and write the code that

  Integer arguments representing feet

A constructor that will take a single integer argument representing a whole number of feet • A constructor that will take two integer arguments representing feet and inches respectively • A constructor that will take three integer arguments represent..

  Write a program that uses a string array to store a list

The program should allow the user via a menu to add an item to the list, clear the list, and display the list. You may assume that the list will never need to contain more than 10 items.

  Write program to declare the array of type float

Write down the c++ program which declares the array of 50 components of type float. Initialize array so that first 25 components are equal to square of the index variable.

  Program prompts the user to input the height and the radius

Rearrange the statements so that the program prompts the user to input the height and the radius of the base of a cylinder and outputs the volume and surface area of the cylinder. Format the output to two decimal places.

  Determines the largest value

Write a program Largest that reads three integers from the user and determines the largest value - Write a program InOrder that reads three integers from the user and prints the three integers in sorted order.

  Write function named enough that takes one integer argument

Write a function named "enough" that takes one integer argument, call it "goal" and returns as its value the smallest positive integer n for which 1+2+3+. . . +n is at least equal to goal .

  Write a program that will be used to gather statistical data

Write a program that will be used to gather statistical data about the number of movies

  Write a program that plays a tic-tac-toe game.

Using functional decomposition, write a program that plays a tic-tac-toe game.

  Write a function that accepts an int array

Element 0 of the argument arrayshould be copied to element 1 of the new array, element 1 of the argument array should be copied to element 2 of the new array, and so forth. The function shouldreturn a pointer to the new array.

  Payroll and uses the selection construct

This problem involves payroll and uses the selection construct. A possible restatement: An hourly employee's regular payRate is $16.78/hour for hoursWorked

  Design a deck plan space ship in eclipse

Develop a simple interactive two-dimensional spaceship deck plan editor using OpenGL and GLUT. Your program will enable a user to create and save a deck plan of a hypothetical spaceship comprising the hull walls.

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