Computer Science, asked by anithasreeja, 1 month ago

write a prog in java to find greatest between two numbers using switch case​

Answers

Answered by sabirahamed
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