CT211-พิมพ์สูตรคุณแม่ 2 ถึงแม่ 12 ออกทางหน้าจอ
แสดงความเห็นโดย จั่น บน กรกฎาคม 14, 2008
#include <stdio.h>
#include <conio.h>
#include <iostream.h>
void main(){
for(int i=2; i<=12; i++){
for(int j=1; j<=12; j++){
cout << i << “*” << j << ” = ” << i*j << “\n”;
if(j == 12){
cout << “\n”;
}
}
}
getch();
}
