You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wolvesled edited this page Aug 30, 2013
·
4 revisions
Write a program that read characters from the keyboard until a period is received.
Show the general form of the if-else-if ladder. Answer: if(condition) statement; else if(condition) statement; else if(condition) statement; else statement;
Givenif(x < 10) if(y > 100) { if(!done) x = z; else y = z; } else System.out.println("error"); // what if? to what if does the last else associate? Answer: the second if.