Module/Week 3 ASSIGNMENT (CONTROL STRUCTURES . IF ..ELSE) Write a C++ program that computes a student’s...

50.1K

Verified Solution

Question

Programming

Module/Week 3 ASSIGNMENT (CONTROL STRUCTURES . IF ..ELSE)
Write a C++ program that computes a student’s grade for anassignment as a percentage given
the student’s score and total points. The final score must berounded up to the nearest whole
value using the ceil function in the header file. Youmust also display the floating-point
result up to 5 decimal places. The input to the program must comefrom 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 gradeis greater than or equal to 90,
“Well Done” if the grade is less than 90 and greater than or equalto 80, “Good” if the grade is
less than 80 and greater than or equal to 70, “Need Improvement” ifthe grade is less than 70 and
greater than or equal to 60, and “Fail” if the grade is less than60.
Submit C++ Programming Assignment 3 by 11:59 p.m. (ET) on Monday ofModule/Week 3

Answer & Explanation Solved by verified expert
3.6 Ratings (480 Votes)
Step 1 In the above problem we can write a c program and read value from text    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students