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

# 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)