Monday, December 7, 2009
Learning.
public class NumberOfDicks{
public static void main(String[] arg){
int x = 10;
int y = 2;
String g = "You sucked ";
String s = " dicks today";
x = x*y;
System.out.println( g + x + s);
x = x-y;
System.out.println( g + x + s);
x = x+y;
System.out.println( g + x + s);
x= x/y;
System.out.println( g + x + s);
x= x%y;
System.out.println( g + x + s);
}
}
Tee Ohh Ehn Why
which operator (* + - / %) would you want to have in this situation if you were straight
And this was my first lesson in Computer Science.(Highlight the whole blog to read the text. I couldn't change it to white font for some reason.)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment