Grade for an assignment as a percentage

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

The program that computes a student's grade for an assignment as a percentage given the student's score and total points. The final score must be rounded up to the nearest whole value using the ceil function in the <cmath> header file. You must also display the floating-point result up to 5 decimal places. The input to the program must come from a file containing a single line with the score and total separated by a space."

In addition, you must print to the console "Excellent" if the grade is greater than or equal to 90, "Well Done" if the grade is less than 90 and greater than or equal to 80, "Good" if the grade is less than 80 and greater than or equal to 70, "Need Improvement" if the grade is less than 70 and greater than or equal to 60, and "Fail" if the grade is less than 60.

Reference no: EM132432150

Questions Cloud

Mitigate worst of the future climate change costs : Future costs of Climate Change are largely unknown what are some ideas that emerge from IPE that might help mitigate worst of the future "climate change costs
Calculate employee weekly pay : Write a program named question6c.cpp that demonstrates the use of the following functions. A C++ function named getName()prompts the user for two string values
Describing the history of International Financial Reporting : History details and all the changes regarding this Standard when and what changed made. Plus what was the exposures drafts of IAS 11 and describe requirements
Special discounts for students and pensioners : NuMetro has a special on movies for all members of the public but special discounts for students and pensioners. If pensioners or students buy a movie ticket
Grade for an assignment as a percentage : The program that computes a student's grade for an assignment as a percentage given the student's score and total points. The final score must be rounded up
Record the transactions in Speedy Transport Ltds journal : Speedy has a separate accumulated depreciation account for each of these assets except Land. Record the transactions in Speedy Transport Ltd.'s journal
Graphic Display Of Sociological Theories Assignment : Graphic Display Of Sociological Theories Assignment help and solutions:- illustrate the relationship between the foundational sociological theories
How much the user would weigh on that planet : The program, via the switch statement, then outputs how much the user would weigh on that planet.
Explain how this impacted your perception of business : Have you witnessed unethical practices in workplace? If so, please share your experience with class and explain how this impacted your perception of business.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Using recursion determine if the string is a palindrome

Using recursion, count how many times each of the letter "a" and "k" are repeated (There may be 0 a and 0 k in the string).

  Refresher on andys basic requirements

The game Battleship is back and better than ever. Instead of hacking everything together in C, you will instead leverage C++ and all of your newly gained object oriented programming knowledge to construct a much cleaner end product.

  A text file students.txt contains student records

A text file students.txt contains student records (name, date of birth, and GPA). Write a program that reads student records from students.txt and creates an array of student structures

  Write a function that compares two stacks for equality

Write a function that compares two stacks for equality. The function takes two stacks as parameters and returns true if they are identical.  The stacks should remain unchanged after the function returns to the calling program.

  Write function that is passe an array of n pointers to float

Write a function that is passed an array of n pointers to floats and returns a newly created array that contains those n float values. Implement a function for integrating a function by means of Riemann sums.

  Explain conditional expressions in the c language

What if the initial value assigned to a is 13, not 3? What happens with this code and why does this occur? What does this tell you about setting up conditional expressions in the C language?

  Calculate the cost of items before discount

Build a program that calculates a discount for items based on quantity bought - Calculate the cost of items before discount.

  Design a payroll class with the given fields

Write another program that demonstrates the class by creating a Payroll object, then asking the user to enter the data for an employee in the order.

  Write a function - greatest common divisor

Write a function named "g_c_d" that takes two positive integer arguments and returns as its value the greatest common divisor of those two integers.

  Prepare a program that prints the multiplication table

Prepare a program that prints the multiplication table for numbers 1 to 9. The program should include two nested loops and compute the products and print them

  Develop a new program that simulates the hiring

Develop a new program that simulates the hiring and processing of new employees for your company. The queue should be a First In First Out(FIFO) based queue

  The user chooses to use existing data

1. How would I write the code for this? it is using link list If the user chooses to use existing data, ask the user for the filename of the data file. If the file does not exist, let the user choose whether to enter another filename or go to the act..

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