0
Switch case odd even progran
2 ответов
+ 18
switch (x%2){
case 0 :System.out.print ("even");
break;
case 1:System.out.print ("odd");
break;
}
//its rough structure for odd-even number using switch
// ur question is unclear to me ☺☺
+ 1
Where is your question?