write a prog in java to find greatest between two numbers using switch case
Answers
Answered by
0
Answer:
switch case is not needed for this
you can do something like this -
int a=5,b=9;
if (a>b)
system. out. print(a) ;
else
system. out. print(b) ;
Similar questions
Math,
19 days ago
Computer Science,
1 month ago
English,
1 month ago
Social Sciences,
8 months ago
Geography,
8 months ago
Chemistry,
8 months ago