Klavyeden girilen 10 sayıyı toplayan ve sonucu ekranda gösteren programın algoritmasını yazınız.
1 2 3 4 5 6 7 8 9 10 11 12 | BAŞLA SAYISAL TOPLAM TOPLAM=0 DÖNGÜ i=1, 10, 1 YAZ("SAYIYI GİR") SAYI<--OKU() TOPLAM=TOPLAM+SAYI DÖNGÜ BİTTİ YAZ TOPLAM BİTTİ |
Klavyeden girilen 10 sayıyı toplayan ve sonucu ekranda gösteren programın algoritmasını yazınız.
1 2 3 4 5 6 7 8 9 10 11 12 | BAŞLA SAYISAL TOPLAM TOPLAM=0 DÖNGÜ i=1, 10, 1 YAZ("SAYIYI GİR") SAYI<--OKU() TOPLAM=TOPLAM+SAYI DÖNGÜ BİTTİ YAZ TOPLAM BİTTİ |
Yorum Yap