fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int n = 5;
  6. for(int i=1;i<=10;i++){
  7. printf("\n%d x %d = %d",i,n,i*n);
  8. }
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5296KB
stdin
Standard input is empty
stdout
1 x 5 = 5
2 x 5 = 10
3 x 5 = 15
4 x 5 = 20
5 x 5 = 25
6 x 5 = 30
7 x 5 = 35
8 x 5 = 40
9 x 5 = 45
10 x 5 = 50