logo Sign In

Post #52375

Author
ricarleite
Parent topic
Code Wars: Return of the java
Link to post in topic
https://originaltrilogy.com/post/id/52375/action/topic#52375
Date created
8-Jun-2004, 3:46 AM
Quote

Originally posted by: Shimraa
yous could just use switch couldnt you.


No, you can't use comparison of any kind. Some people tried to cheat by transforming a while statement into an if:

if(boolvar){
dostuff();
}

into

temp = true
while(boolvar && temp){
dostuff();
temp = false;
}

You can't do that either.

And Hal 9000, what kind of programing language is that? The binary language of a moister vaporator? Bocce? A primitive dialect from Endor moons?