#include <stdio.h>
#include <stdlib.h>
#define maks 11
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
int baris, kolom, hasil_kali;
printf ("==================================================\n");
for (baris=1;baris<maks;baris++){
for (kolom=1;kolom<maks;kolom++){
hasil_kali = baris*kolom;
printf ("%4d|", hasil_kali);
}
printf ("\n");
printf ("==================================================\n");
}
return 0;
}
Tidak ada komentar:
Posting Komentar