Write a PHP program to take marks of five subjects and calculate percentage. Display grade according to the following specific | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a PHP program to take marks of five subjects and calculate percentage. Display grade according to the following specific

Percentage Grade >90 A+ <=90 and >81 A <=80 and >71 B <=70 and >61 C <=60 and >51 D <=50 and >41 E <=40 Fail

17th Nov 2022, 4:12 PM
Shalini dewangan
Shalini dewangan - avatar
2 Answers
+ 2
For this problem you need to learn about basics arithmetic operations and conditional statements you have to learn basics first
17th Nov 2022, 5:56 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Please attempt the code first, if you have any doubt or error then we can try to solve it.
17th Nov 2022, 5:55 PM
Sakshi
Sakshi - avatar