fork download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int i=1,number;
  6. printf("Enter a number: ");
  7. scanf("%d",&number);
  8. do{
  9. printf("%d \n",(number*i));
  10. i++;
  11. }while(i<=10);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5312KB
stdin
10
stdout
Enter a number: 10 
20 
30 
40 
50 
60 
70 
80 
90 
100