fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int colls, rows;
  5. printf("Podaj liczbe kolumn:" );
  6. fflush(stdin);
  7. scanf("$d",&colls);
  8. printf("\nWynik-1: %d\n", colls);
  9. printf("Podaj liczbe kolumn-2:" );
  10. fflush(stdin);
  11. scanf("%d",&colls);
  12. printf("\nWynik-2: %d\n", colls);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2172KB
stdin
43
stdout
Podaj liczbe kolumn:
Wynik-1: 1433042509
Podaj liczbe kolumn-2:
Wynik-2: 43