Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. import java.util.scanner ;
  2. class Somma_for
  3. {
  4. public static void main(String args[])
  5. {
  6. int numero;
  7. Scanner input = new Scanner(System.in);
  8. //acquisisce 5 numeri interi
  9. for (int i=1; i<=5; i++)
  10. {
  11. System.out.print("Digita un numero intero: ");
  12. numero = input.nextInt() ;
  13. }
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement