10 Ekim 2008 Cuma

c de bir program kodu

#include
#include
#include
#include
#include
#include

using namespace std;
int main(int argc,char *argv[])
{
system("TITLE EN BÜYÜK BEŞİK TAŞ KARA KARTAL");
//+++++++++++++++++++++++++++++++++++++++++++++++

// 1 - BİRİNCİ KOMUT AŞAMASI.


float s,h1,h2,sonuc;

geri:

system("color 9f");

cout<<" [X]"<>s;


// 2 - İKİNCİ KOMUT AŞAMASI.

if(s==1)
{

system("cls");

system("color 1f");

cout<<"\n\n\n\n\n\n\n"<>h1;

cout<<" +"<>h2;

sonuc=(h1+h2);

cout<<" ="<>h1;

cout<<" -"<>h2;

sonuc=(h1-h2);

cout<<" ="<>h1;

cout<<" *"<>h2;

sonuc=(h1*h2);

cout<<" ="<>h1;

cout<<" /"<>h2;

sonuc=(h1/h2);

cout<<" ="<5)||(s<0)||(s<=0))
{

system("cls");

system("color 0a");

Sleep(5000);

cout<<"\n\n\n\n\n\n\n\n\n\n"<
cout<<" !!! LUTFEN DOGRU BiR UYGULAMA GiRiNiZ !!!\n"<
cout<<" [1][2][3][4][5]"<
Sleep(5000);

system("cls");

goto geri;




}

// 7 - KOMUT AŞAMASI.

else if(s==5)
{

system("cls");

system("color f0");

Sleep(3000);
cout<<"\n\n\n\n\n\n\n"< cout<<" HESAP MAKiNESi PROGRAMI [ OuZ 1.2 ]\n"<
cout<<"EVET ARKADASLAR HESAP MAKiNESi PROGRAMI HAZIR.\n"<
Sleep(3000);

cout<<"ONCELiKLE EMEGE SAYGI LUTFEN...\n"<
Sleep(3000);

cout<<"BU PROGRAMLA iLGiLi GORUSLERiNiZ VE ONERiLERiNiZ\n"<
Sleep(3000);

cout<<"BENiM iCiN COK ONEMLi.VE SiZLERDENDE BU TARZ BASiT PROGRAMLAR VE OYUNLAR\n"<
Sleep(3000);

cout<<"YAPAN ARKADASLAR VARSA BANA EMAiL ADRESiMDEN ULASIRSANIZ SEViNiRiM.\n"<
Sleep(3000);

cout<<""<
Sleep(3000);

cout<<"SAYGILAR VE SEVGiLER HERKESE ( BY )\n"<
Sleep(3000);

cout<<"email adresim : ouzcpp@hotmail.com\n"<
Sleep(3000);

cout<<"email adresim : ouztek@hotmail.com\n"<
Sleep(4000);

system("cls");

cout<<"Windows ( calc ) HESAP MAKiNESi PROGRAMINA YONLENDiRiLiYORSUNUZ...\n"<
cout<<""<
cout<<"Lutfen Bekleyiniz...\n"<
Sleep(5000);

system("calc");

}

// 8 - KOMUT AŞAMASI.

else
{

system("cls");

system("color 0a");

Sleep(5000);

cout<<"\n\n\n\n\n\n\n\n\n\n"<
cout<<" !!! LUTFEN DOGRU BiR UYGULAMA GiRiNiZ !!!\n"<
cout<<" [1][2][3][4][5]"<
Sleep(5000);

system("cls");

cout<<" !!! HATALI BiR UYGULAMA GiRDiNiZ !!!\n"<
Sleep(4000);

cout<<"Windows ( calc ) HESAP MAKiNESi PROGRAMINA YONLENDiRiLiYORSUNUZ...\n"<
cout<<""<
cout<<"Lutfen Bekleyiniz...\n"<
Sleep(5000);

system("calc");

}

Hiç yorum yok: