Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <stdio.h>
- main()
- {
- int cont = 0;
- int N = 1;
- int temp, guess;
- printf("Quanti numeri vuoi visualizare?: ");
- scanf("%d", &guess);
- while(cont<guess)
- {
- temp = N * 2;
- printf("%d\n" ,temp);
- cont ++;
- N++;
- }
- system("PAUSE");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement