fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int num;
  5. printf("welcome to the multiplication table");
  6. printf("\nplease enter number");
  7. scanf("%d",num);
  8. int i=1;
  9. while(i>=10){
  10. printf("\n %d*%d=%d",num,i,num*i);
  11. i++;
  12. }
  13.  
  14.  
  15.  
  16.  
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
welcome to the multiplication table
please enter number