Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scanner szamok = new Scanner(System.in);
- int szam = szamok.nextInt();
- switch(szam){
- case (szam<0):
- System.out.println("A szam negativ!");
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement