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)
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);
}
}