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
English,
1 month ago
Geography,
1 month ago
Computer Science,
2 months ago
English,
2 months ago
Social Sciences,
9 months ago
Geography,
9 months ago
Chemistry,
9 months ago