Programalama > C#

Etiketler: hesap, makinesi

Ort. 0
Puan ver:
#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("   TEžEKKš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] Basnz...");
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();
}


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2024 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.