Geri git   Van.GEN.TR Forum | Yerel Van Forumu > Bilgisayar > Programlama > Pascal

 
 
Konu Araçları Stil
Alt 24/04/07, 00:50   #1
gokhanaygun
Tuğgeneral
 
gokhanaygun - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Apr 2007
Bulunduğu yer: VAN
Yaş: 36
Mesajlar: 924
Tecrübe Puanı: 26 gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold
Standart basit hesap makinesi

uses crt;
var
x,y:longint;
sec:longint;
begin

clrscr;
writeln(' Yuzuncu Y?l Un?vers?tes? ') ;

readln;

write('Bir say? gir:');
readln(x);

write('Bir say? daha gir:');
readln(y);

writeln(' ********* MENU; *********');
writeln('1:topla');
writeln('2:c?kar');
writeln('3:carp');
writeln('4:bolme');
write('secimin; ? > :');
readln(sec);

if sec=1 then write(' sonuc;=',x+y);
if sec=2 then write(' sonuc;=',x-y);
if sec=3 then write(' sonuc;=',x*y);
if sec=4 then write(' sonuc;=',x/y:6:2);
readln;
end.

uses crt;
var
x,y:longint;
sec:longint;
begin
textbackground(1);
clrscr;
textcolor(14);
write('bir say? gir:');
readln(x);
textcolor(15);
write('bir say? daha gir:');
readln(y);
textcolor(5);
writeln(' ********* MENš *********');
writeln('1:topla');
writeln('2:‡?kar');
writeln('3:‡arp');
writeln('4:b”lme');
write('ne yapay?m kardaŸ ? > :');
readln(sec);
textcolor(4+128);
if sec=1 then write(' sonu‡=',x+y);
if sec=2 then write(' sonu‡=',x-y);
if sec=3 then write(' sonu‡=',x*y);
if sec=4 then write(' sonu‡=',x/y:6:0);
readln;
end.
gokhanaygun isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 187
 


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 

Yetkileriniz
Yeni Mesaj yazma yetkiniz Aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz Aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz Aktif değildir dir.

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Gitmek istediğiniz klasörü seçiniz


Bütün Zaman Ayarları WEZ +3 olarak düzenlenmiştir. Şu Anki Saat: 23:31 .


Powered by vBulletin
Copyright © 2000-2007 Jelsoft Enterprises Limited.
Sitemap
6, 5, 3, 7, 8, 9, 10, 11, 12, 13, 14, 15, 113, 16, 17, 18, 19, 81, 20, 27, 22, 23, 24, 25, 26, 48, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 43, 136, 40, 58, 45, 42, 44, 46, 47, 53, 54, 55, 56, 57, 59, 60, 70, 61, 62, 63, 64, 65, 66, 68, 69, 71, 72, 74, 75, 76, 77, 78, 79, 80, 82, 83, 96, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 98, 97, 100, 101, 102, 103, 106, 104, 105, 112, 109, 108, 107, 110, 111, 114, 115, 118, 116, 117, 119, 148, 154, 124, 165, 122, 120, 123, 121, 150, 153, 125, 128, 129, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 151, 149, 202, 175, 164, 152, 167, 155, 156, 157, 158, 159, 160, 161, 162, 163, 195, 169, 166, 168, 170, 171, 172, 199, 174, 173, 196, 200, 176, 177, 180, 178, 179, 182, 189, 187, 184, 186, 191, 192, 193, 194, 197, 198, 201, 203, 229, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 236, 231, 232, 233, 234, 235, 237, 240, 239, 241, 243, 242, 244,