Guest User

Untitled

a guest
May 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. // created by Kieran Graves
  2. import javax.swing.JOptionPane;
  3. class dumbass
  4. {
  5. public static void main(String[] args)
  6. {
  7. String question= JOptionPane.showInputDialog("Are you a fucking dumbass? \n Type *1* for Yes. \n Type *2* for no");
  8. int questionanswer= Integer.parseInt(question);
  9. if (questionanswer==1)
  10. {
  11. JOptionPane.showMessageDialog(null,"Thought so..");
  12. System.exit(0);
  13. }
  14. else
  15. {
  16. JOptionPane.showMessageDialog(null," Don't fucking bullshit me!");
  17. System.exit(0);
  18. }
  19. }
  20. }
Add Comment
Please, Sign In to add comment