You are on page 1of 3

#include <stdio.

h>

#include <conio.h>

int main()

char c;

printf("===================================");

printf("\n|| Masukkan Karakter: ||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");
printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n%s%33s", "||","||");

printf("\n===================================");

gotoxy(27,2);

scanf("%c", &c);

printf("\n\n%s%3c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c
%10s", "||",c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%3c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%10s",
"||",c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%3c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%10s",
"||",c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%15c%c%c%c%c%c%c%c%c%10s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%14c%c%c%c%c%c%c%c%c%11s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%13c%c%c%c%c%c%c%c%c%12s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%12c%c%c%c%c%c%c%c%c%13s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%11c%c%c%c%c%c%c%c%c%14s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%10c%c%c%c%c%c%c%c%c%15s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%9c%c%c%c%c%c%c%c%c%16s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%8c%c%c%c%c%c%c%c%c%17s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%7c%c%c%c%c%c%c%c%c%18s",
"||",c,c,c,c,c,c,c,c,c,"||");
printf("\n%s%6c%c%c%c%c%c%c%c%c%19s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%5c%c%c%c%c%c%c%c%c%20s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%4c%c%c%c%c%c%c%c%c%21s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%3c%c%c%c%c%c%c%c%c%22s",
"||",c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%3c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%10s",
"||",c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%3c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%10s",
"||",c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,"||");

printf("\n%s%3c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%10s",
"||",c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,"||");

printf("\n\n\n%s%s%6s", "||"," Press anykey to


exit. . .","||");

gotoxy(30,26);

getch();