first commit

This commit is contained in:
LinlyBoi
2021-11-06 23:35:03 +02:00
commit 63ba32bb3c
27 changed files with 498 additions and 0 deletions

14
IfStatements.java Normal file
View File

@@ -0,0 +1,14 @@
import javax.swing.JOptionPane;
class Scratch {
public static void main(String[] args) {
int age = Integer.parseInt(JOptionPane.showInputDialog("How old are you?"));
if(age>=18)
{
JOptionPane.showMessageDialog(null,"You can do the fuck");
}
else {
JOptionPane.showMessageDialog(null,"No no no No FUCKING!!!");
}
}
}