fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int i;
  5.  
  6. printf("สูตรคูณแม่ 5:\n");
  7. for (i = 1; i <= 12; i++) {
  8. printf("5 x %d = %d\n", i, 5 * i);
  9. }
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
สูตรคูณแม่ 5:
5 x 1 = 5
5 x 2 = 10
5 x 3 = 15
5 x 4 = 20
5 x 5 = 25
5 x 6 = 30
5 x 7 = 35
5 x 8 = 40
5 x 9 = 45
5 x 10 = 50
5 x 11 = 55
5 x 12 = 60