i)'A 'F'
switch(ch)
case 'A
System.out.println("Grade A"):
case 'B':
System.out.println("Grade B");
case 'C:
System.out.println("Grade C");
break;
default:
System.out.println("Grade F*);
what is the ouput of a and f
Answers
Answered by
1
Answer:
Output : Grade A
Grade F
Explanation:
For 'A' , it prints for case 'A' and when the Case doesn't have the match, it prints the default value i.e., Grade F
Mark me as the Brainliest Answer!!
Similar questions
Music,
2 months ago
Hindi,
2 months ago
Hindi,
2 months ago
Computer Science,
4 months ago
Economy,
10 months ago