Answer to Question #246747 in HTML/JavaScript Web Application for Lee

Question #246747

Produce a system which can load images for inspection with counter, and click for PASS and FAIL. User manually press to pass or fail an image. PHP


1
Expert's answer
2021-10-05T15:45:20-0400
$workScore = $_POST['coursework'];

switch($workScore) {
case $workScore >= 70 and $workScore <= 100:
    echo 'Your Grade is A';
    break;
case $workScore >= 60 and $workScore <= 69:
    echo 'Your Grade is B+';
    break;
case $workScore >= 59 and $workScore <= 60:
    echo 'Your Grade is B';
    break;
default:
echo 'something else':
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS