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