Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you rewrite this Java code in the Swift programming language? 1 import java.util.Scanner; 2 public class Grader 4. public static void main (String []

Can you rewrite this Java code in the Swift programming language?

image text in transcribed

1 import java.util.Scanner; 2 public class Grader 4. public static void main (String [] args) 6 7 8 9 10 nt score; char grade; System.out.println ("Enter your score:"); Scanner keyboard new Scanner (System.in); score keyboard.nextInt(; if (score >= 90) 12 13 14 15 16 17 18 19 20 21 else if (score = 8 else if (score >= 70) else if (score = else grade'A' grade = 'B' grade "C. grade = 'D' grade = 'F': 60 System.out.println ("Score"score); System.out.println ("Grade"+ grade); 23 24

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

Step: 3

blur-text-image

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

Oracle Database Upgrade Migration And Transformation Tips And Techniques

Authors: Edward Whalen ,Jim Czuprynski

1st Edition

0071846050, 978-0071846059

More Books

Students also viewed these Databases questions

Question

Create a workflow analysis.

Answered: 1 week ago