Chuyển đến nội dung chính
A C program to print multiplication table
//A C program to print multiplication table
#include <stdio.h>#include <conio.h>void main(){clrscr();int n, i;printf("Enter an integer: ");scanf("%d",&n);for(i=1; i<=10; ++i){printf("%d * %d = %d \n", n, i, n*i);}getch();}
Output:
Nhận xét
Đăng nhận xét