Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.scanner ;
- class Somma_for
- {
- public static void main(String args[])
- {
- int numero;
- Scanner input = new Scanner(System.in);
- //acquisisce 5 numeri interi
- for (int i=1; i<=5; i++)
- {
- System.out.print("Digita un numero intero: ");
- numero = input.nextInt() ;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement