ex-cond-adv1.ox (346B)
1 // conditional to be handled 2 3 int main() { 4 print("did it work?"); 5 string password = "123"; 6 if (password == "1234") { 7 print("it worked!"); 8 return 0; 9 } else { 10 if(password == "123") { 11 print("the else worked!"); 12 return 1; 13 } else { 14 print("booboo"); 15 } 16 } 17 }