fork download
  1. #include <stdio.h>
  2. //Filippo De Maio
  3. //Programma che stampa i numeri tra p e q
  4. int main(void) {int n, p, q;
  5. scanf("%d %d", &p , &q);
  6. n=p;
  7. while (n<=q) {printf("%d\t",n);
  8. n++;}
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5284KB
stdin
102 130
stdout
102	103	104	105	106	107	108	109	110	111	112	113	114	115	116	117	118	119	120	121	122	123	124	125	126	127	128	129	130