Westonci.ca offers fast, accurate answers to your questions. Join our community and get the insights you need now. Explore thousands of questions and answers from knowledgeable experts in various fields on our Q&A platform. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.

. A school has following rules for grading system:
a. Below 25 - F
b. 25 to 45 - E
c. 45 to 50 - D
d. 50 to 60 - C
e. 60 to 80 - B
f. Above 80 - A
Ask user to enter marks and print the corresponding grade.
Use C++ to write the program that solves the above problem


Sagot :

Answer:

Explanation:

c. 45 to 50 - D

A school has following rules for grading system for this firstly take input of the subject from the result then add the calculations.

What is the use of C++?

The programming language called C++ (or “C-plus-plus”) is a fashionable reason coding language which has been used for recreation programming, software program engineering, statistics structures, growing browsers, working systems, applications, and greater for over 40 years.

  1. Score = input("Enter your score")
  2. score = int(score)
  3. if score<25>=25 and score<45>= forty five and score < 50>= 50 and score < 60>=60 and score < 80
  4. Then reoprt will be printed.

Read more about the program C++:

https://brainly.com/question/23275071

#SPJ2