Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- Scanner sc = new Scanner(System.in);
- System.out.println("Veuillez saisir un mot :");
- int str = sc.nextInt ();
- System.out.println("Vous avez saisi : " + str);
- int str = 10;
- if (i < 0)
- System.out.println("le nombre est négatif");
- else
- System.out.println("le nombre est positif");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement