1.

Consider the following if else if statement. Rewrite it with switch statement. if(a==1)cout

Answer» SWITCH(a) {case:1 = system. out. println("ONE");case:2 = system. out. println("zero") ;breaksystem. out. println("not a binary DIGIT") ; semicoln syntax not SURE but rest all right


Discussion

No Comment Found