Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Marks Grade 90-100 A 80-89 B 70-79 C 60-69 D Less than 60 F Write a PHP script to identify a student grade. Your script
Marks | Grade |
90-100 | A |
80-89 | B |
70-79 | C |
60-69 | D |
Less than 60 | F |
Write a PHP script to identify a student grade. Your script must use switch keyword, comparative and logical operators.
Write the script output that print the grade (i.e., A or B) based on the marks (e.g., $mark =80).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started