Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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