b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » Message 3947144 (Thread)

# yay for java!
(, Mon 15 Nov 2004, 14:57, archived)
# *sarcasim detector just exploded*
yay for java indeed
(, Mon 15 Nov 2004, 15:03, archived)
# em... no... java`s great :)

*StringBuffers the world*
(, Mon 15 Nov 2004, 15:06, archived)
# wrote this just now for you, enjoy
import javax.swing.JOptionPane;

public class killhumans {
public static void main (String args[]){
String output;
String human, death;
int people;

human = JOptionPane.showInputDialog("how many shall die?");
people = Integer.parseInt(human);

if(people =70){
death = "Oh the Hummanity";
}
else{
death="horrible";
}
}
else{
death="Only a few";
}
output = "you killed "+human + " people " + death;

JOptionPane.showMessageDialog(null, output, "Sick Bastard",
JOptionPane.INFORMATION_MESSAGE);

System.exit(0);
}
}
(, Mon 15 Nov 2004, 15:18, archived)