Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello! Please help me what the problem is to print out the final grade. ( I already have the totalweighted value outside of the function.)

Hello!

Please help me what the problem is to print out the final grade. ( I already have the totalweighted value outside of the function.)

= 0) ? "F": (($totalweightedvalue <=70 and $totalweightedvalue >=60) ? "D": (($totalweightedvalue <=80 and $totalweightedvalue >=70 ? "C": (($totalweightedvalue <=90 and $totalweightedvalue >=80 ? "B": (($totalweightedvalue <= 100 and $totalweightedvalue >=90 ? "A")); return $lettergrade; }

echo "Your final grade is " . finalgrade();

?>

I got this error: PHP Parse error: syntax error, unexpected ')' in /home/XgOyaE/prog.php on line 23

Thank you.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago