program of java for weekday using swicth
Answers
Answered by
0
Answer:
class na{
public voice did (int a){
switch(a){
case 1: System.out.println("monday");
break;
case 2:System.out.println("tuesday");
break;
case 3:System.out.print on("wednesday");
break;
case 4: .....................
case 5................
case 6....,.................
case 7....................
default:System.out.println("invalid day no.");
}
}
}
Similar questions