Basit bir bir hesap makinasi olarak yazdim
#include<iostream.h>
#include<conio.h>
void main()
{
int a,b,c,d,e,f,g,h;
cout<<endl;
cout<<endl;
cout<<endl;
cout<<"Programci ACILARIN Playboyu abidin";
cout<<endl;
cout<<endl;
cout<<endl;
cout<<endl;
cout<<endl;
cout<<"1.TOPLAMA";
cout<<endl;
cout<<"2.CIKARMA";
cout<<endl;
cout<<"3.CARPMA";
cout<<endl;
cout<<"4.BOLME";
cout<<endl;
cout<<"5.CIKIS";
cout<<endl;
cout<<"Seciminiz...="; cin>>h;
cout<<endl;
if (h==1)
{
cout<<endl;
cout<<"TOPLAMA iSLEMi";
cout<<endl;
cout<<"1.sayi Giriniz..="; cin>>a;
cout<<endl;
cout<<"2.sayi Giriniz..="; cin>>b;
c=a+b;
cout<<endl;
cout<<"Toplama sonucu..="<<c;
}
if (h==2)
{
cout<<endl;
cout<<"Cikarma iSLEMi";
cout<<endl;
cout<<"1.sayi Giriniz..="; cin>>a;
cout<<endl;
cout<<"2.sayi Giriniz..="; cin>>b;
c=a-b;
cout<<endl;
cout<<"Cikarma sonucu..="<<c;
}
if (h==3)
{
cout<<endl;
cout<<"Carpma iSLEMi";
cout<<endl;
cout<<"1.sayi Giriniz..="; cin>>a;
cout<<endl;
cout<<"2.sayi Giriniz..="; cin>>b;
c=a*b;
cout<<endl;
cout<<"Carpma sonucu..="<<c;
}
if (h==4)
{
cout<<endl;
cout<<"Bölme iSLEMi";
cout<<endl;
cout<<"1.sayi Giriniz..="; cin>>a;
cout<<endl;
cout<<"2.sayi Giriniz..="; cin>>b;
c=a/b;
cout<<endl;
cout<<"Bolme sonucu..="<<c;
}
cout<<endl;
cout<<endl;
cout<<"Cikmak İcin Lutfen Bir Tusa Basiniz";
if (h==5)
{
cout<<"BYEEEEE";
exit;
}
getch();
}