Converting the raw score to a percentage

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

How to code a C++ program that reads data from an input file, takes the data and computes student grades for an assignment by converting the raw score to a percentage given each student's score and the total points. The final score must be rounded up to the nearest whole value using the ceil function in the <cmath> header file and displayed as a percentage. You must also display the floating-point result up to 5 decimal places.

You must use at least 2 functions: one to print the last name of the student and another function to compute and print the percentage as well as "Excellent" if the grade is greater than 90, "Well Done" if the grade is greater than 80, "Good" if the grade is greater than 70, "Need Improvement" if the grade is greater than or equal to 60, and "Fail" if the grade is less than 50. The main function is responsible for reading the input file and passing the appropriate arguments to your functions.

Reference no: EM132432137

Questions Cloud

Calculate the balance of a checking account : You need a program that will calculate the balance of a checking account. The user will input the account name, old balance, total deposits, and total checks
Reads integers from standard input until end of file : Write a C++ program that reads integers from standard input until end of file.
How would you characterize the strategy of starbucks : How would you characterize the strategy of Starbucks? How does Starbucks create value for its customers? What critical risk and success factors must Starbucks
Determine the most significant monetary policy : Determine the most significant monetary policy that the Federal Reserve Bank has been responsible for implementing in the past twelve (12) months
Converting the raw score to a percentage : How to code a C++ program that reads data from an input file, takes the data and computes student grades for an assignment by converting the raw score
Explain how might deal with the clients tardiness : Explain how you might deal with this client's tardiness.While conducting a group for adults struggling with addiction, one of the participants has come
What are the terms to communicate with arrays : What are the terms to communicate with arrays? How do you declare an array variable for a specific size and initialize it to a "zero" value?
What was the amount of net income reported by Kerbs Corp : The result of the stock dividend was to decrease retained earnings by $10,500. What was the amount of net income reported by Kerbs Corp. in 2020
Activity-based costing in service : Research a U.S. company in the service industry with e-commerce activities. Analyze concepts of job-order costing, process costing, and activity-based costing.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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