0
Switch case odd even progran
2 Answers
+ 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?