Question: I NEED THIS IN SWIFT CODE Create code that includes the following items: 1. a variable for a students grade that can have a decimal
I NEED THIS IN SWIFT CODE
Create code that includes the following items:
1. a variable for a students grade that can have a decimal point
2. an if statement with 5 choices for the letter grade
3. Each choice should tell the student their grade based on the variable in item number 1
here is an example of the output:
grade = 72.3
"You will get a C in this class with that score"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
