#include <stdio.h>
main()
{
int secim;
int x,y,sonuc;
float m,n;
float sonuc1;
loop:
clrscr();
gotoxy(1,1);printf("--------------------------------------------------------------------------------");
gotoxy(23,2);printf(" MEGA INFORMAT˜ON TECHNOLOGY");
gotoxy(1,3);printf("--------------------------------------------------------------------------------");
gotoxy(28,5);printf(" HESAP MAK˜NES˜ PRO¦RAMI ");
gotoxy(14,6);printf("* * * * * * * * * * * * * * * * * * * * * * * * * * * *");
gotoxy(29,7);printf(" ******** * ******** ");
gotoxy(32,8);printf("HESAP[*/+-]MENšSš");
gotoxy(29,9);printf(" ******** * ******** ");
gotoxy(33,10);printf("(1) TOPLAMA (+)");
gotoxy(33,12);printf("(2) €IKARMA (-)");
gotoxy(33,14);printf("(3) €ARPMA (*)");
gotoxy(33,16);printf("(4) B™LME (/)");
gotoxy(33,18);printf("(5) €IKI (Q)");
gotoxy(24,21);printf("HANG˜ ˜LEM˜ YAPMAK ˜ST˜YORSUNUZ...:");
scanf("%d",&secim);
if (secim==1)
{
clrscr();
gotoxy(3,3);printf("------------------------MEGA INFORMAT˜ON TECHNOLOLGY--------------------------");
gotoxy(23,9);printf("***************************************");
gotoxy(25,10);printf("[+]TOPLAMA ˜LEM˜ ˜€˜N 1.SAYI G˜R..:");
scanf("%d",&x);
gotoxy(25,12);printf("[+]TOPLAMA ˜LEM˜ ˜€˜N 2.SAYI G˜R..:");
scanf("%d",&y);
sonuc=x+y;
gotoxy(38,15);printf(" SONU€=%d",sonuc);
gotoxy(38,16);printf("**********");
getch();
sonuc=0;
goto loop;
}
if (secim==2)
{
clrscr();
gotoxy(3,3);printf("------------------------MEGA INFORMAT˜ON TECHNOLOGY---------------------------");
gotoxy(23,9);printf("****************************************");
gotoxy(25,10);printf("[-]€IKARMA ˜LEM˜ ˜€˜N 1.SAYI G˜R..:");
scanf("%d",&x);
gotoxy(25,12);printf("[-]€IKARMA ˜LEM˜ ˜€˜N 2.SAYI G˜R..:");
scanf("%d",&y);
sonuc=x-y;
gotoxy(38,15);printf(" SONU€=%d",sonuc);
gotoxy(38,16);printf("*********");
getch();
sonuc=0;
goto loop;
}
if (secim==3)
{
clrscr();
gotoxy(3,3);printf("------------------------MEGA INFORMAT˜ON TECHNOLOGY-----------------------------");
gotoxy(23,9);printf("**************************************");
gotoxy(25,10);printf("[*]€ARPMA ˜LEM˜ ˜€˜N 1.SAYI G˜R..:");
scanf("%d",&x);
gotoxy(25,12);printf("[*]€ARPMA ˜LEM˜ ˜€˜N 2.SAYI G˜R..:");
scanf("%d",&y);
sonuc=x*y;
gotoxy(38,15);printf(" SONU€= %d",sonuc);
gotoxy(38,16);printf("**********");
getch();
sonuc=0;
goto loop;
}
if (secim==4)
{
clrscr();
gotoxy(3,3);printf("----------------------MEGA INFORMAT˜ON TECHNOLOGY---------------------------");
gotoxy(23,9);printf("**************************************");
gotoxy(25,10);printf("[/]B™LME ˜LEM˜ ˜€˜N 1.SAYI G˜R..:");
scanf("%f",&m);
gotoxy(25,12);printf("[/]B™LME ˜LEM˜ ˜€˜N 2.SAYI G˜R..:");
scanf("%f",&n);
sonuc1=m/n;
gotoxy(38,15);printf(" SONU€=%f",sonuc1);
gotoxy(38,16);printf("*****************");
getch();
sonuc1=0;
goto loop;
}
if (secim==5)
clrscr();
gotoxy(1,2);printf("--------------------------------------------------------------------------------");
gotoxy(23,3);printf(" MEGA INFORMAT˜ON TECHNOLOGY ");
gotoxy(1,4);printf("--------------------------------------------------------------------------------");
gotoxy(33,5);printf("[KONYA/SEL€UKLU]");
gotoxy(25,10);printf(" TEEKKšRLER....HO€AKALIN");
gotoxy(15,12);printf("*");gotoxy(14,13);printf("*");
gotoxy(13,14);printf("*");gotoxy(12,15);printf("*");
gotoxy(11,16);printf("*");gotoxy(16,13);printf("*");
gotoxy(17,14);printf("*");gotoxy(18,15);printf("*");
gotoxy(19,16);printf("*");gotoxy(20,15);printf("*");
gotoxy(21,14);printf("*");gotoxy(22,13);printf("*");
gotoxy(23,12);printf("*");gotoxy(24,13);printf("*");
gotoxy(25,14);printf("*");gotoxy(26,15);printf("*");
gotoxy(27,16);printf("*");gotoxy(28,16);printf("MEGA INFORMAT˜ON TECHNOLOGY");
gotoxy(29,18);printf("*WEB TASARIMI");
gotoxy(32,20);printf("*˜NTERAKT˜F CD");
gotoxy(35,22);printf("*GRAF˜K TASARIMI");
gotoxy(1,1);printf("TEL:(0332)247 21 14-15");
gotoxy(1,25);printf("€kŸ ˜‡in [ENTER] Basnz...");
gotoxy(41,25);printf("PRO¦RAMI HAZIRLAYAN: MEHMET EM˜N TOPKAFA ");
if (secim > 5 || secim <=0 )
{printf("YANLI G˜R˜ YAPTINIZ....TEKRAR DENEY˜N...");
goto loop;
return 0;
}
getch();
}