Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use template to do lab. also if you can please show pictures (screenshots) of coding and outcome. thank you. INSTRUCTIONS OVERVIEW You will write

Please use template to do lab. also if you can please show pictures (screenshots) of coding and outcome. thank you.
image text in transcribed
image text in transcribed
INSTRUCTIONS OVERVIEW You will write a C++ 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. INSTRUCTIONS Write a C++ 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. 1. Use the Lab Template you set-up last week to function as the foundation of your program. 2. Add the variables \& math computations necessary to complete the calculations. Make sure you use the ceil function in the header file. 3. The input to the program must come from an external data file that you create. You will create a text file. The file will contain a single line with the score and total separated by a space. 4. Display the floating-point result up to 5 decimal places. Output the results to the screen. The output must be labeled clearly and formatted neatly. 5. Include proper formatting, and appropriate comments in your code. 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 . 1/ - brief statement as to the file's purpose //CSIS 111- ADD YOUR SECTION NUMBER 1/ /Include statements \#include > \#include using namespace std; //Global declarations: Constants and type definitions only no variables //Function prototypes int main() {. //In cout statement below SUBSTITUTE your name and lab number cout "Your name Lab Number" endl endl; //Variable declarations //Program logic //Closing program statements system("pause"); return 0 ; F/unction definitions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How does this scenario illustrate the process of mainstreaming?

Answered: 1 week ago

Question

What are personal and social media?

Answered: 1 week ago