Advertisement
Aseron

Untitled

Jan 12th, 2017
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. Scanner szamok = new Scanner(System.in);
  2. int szam = szamok.nextInt();
  3. switch(szam){
  4. case (szam<0):
  5. System.out.println("A szam negativ!");
  6. break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement