-
X-Received: by 10.157.62.29 with SMTP id a29mr1855583otd.5.1487704672471; Tue, 21 Feb
2017 11:17:52 -0800 (PST)
X-Received: by 10.157.62.29 with SMTP id a29mr1855583otd.5.1487704672471; Tue, 21 Feb
2017 11:17:52 -0800 (PST)
Path: news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.
atman.pl!goblin3!goblin.stu.neva.ru!news.misty.com!border2.nntp.dca1.giganews.c
om!nntp.giganews.com!h53no665334qth.0!news-out.google.com!78ni372itm.0!nntp.goo
gle.com!e137no2165815itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.c
om!not-for-mail
Newsgroups: pl.comp.programming
Date: Tue, 21 Feb 2017 11:17:52 -0800 (PST)
In-Reply-To: <ufh62.11755$BD6.2333406@news.tpnet.pl>#1/1>
Complaints-To: g...@g...com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=79.74.26.169;
posting-account=ewuasgoAAAAwY6NY_8Wcp2YoJ7y4Y4hn
NNTP-Posting-Host: 79.74.26.169
References: <ufh62.11755$BD6.2333406@news.tpnet.pl>#1/1>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d...@g...com>
Subject: Re: Mnozenie
From: m...@g...com
Injection-Date: Tue, 21 Feb 2017 19:17:52 +0000
Content-Type: text/plain; charset=UTF-8
Lines: 119
Xref: news-archive.icm.edu.pl pl.comp.programming:210263
[ ukryj nagłówki ]On Monday, November 23, 1998 at 9:00:00 AM UTC+1, AD wrote:
> Czesc
> Napisalem program do mnozeni dwoch liczb o max zakresie do 10 (szkolna
> tabliczka mnozenia). Co o nim sadzicie?
>
>
> program mnozenie;
>
> var
> i, j, iloczyn : integer;
>
> begin
> writeln('Mnozenie dwoch liczb do 10');
> write('Podaj pierwsza liczbe: ');
> readln(i);
> write('Podaj druga liczbe: ');
> readln(j);
> if (i = 1) and (j = 1) then iloczyn:=1;
> if (i = 1) and (j = 2) then iloczyn:=2;
> if (i = 1) and (j = 3) then iloczyn:=3;
> if (i = 1) and (j = 4) then iloczyn:=4;
> if (i = 1) and (j = 5) then iloczyn:=5;
> if (i = 1) and (j = 6) then iloczyn:=6;
> if (i = 1) and (j = 7) then iloczyn:=7;
> if (i = 1) and (j = 8) then iloczyn:=8;
> if (i = 1) and (j = 9) then iloczyn:=9;
> if (i = 1) and (j = 10) then iloczyn:=10;
> if (i = 2) and (j = 1) then iloczyn:=2;
> if (i = 2) and (j = 2) then iloczyn:=4;
> if (i = 2) and (j = 3) then iloczyn:=6;
> if (i = 2) and (j = 4) then iloczyn:=8;
> if (i = 2) and (j = 5) then iloczyn:=10;
> if (i = 2) and (j = 6) then iloczyn:=12;
> if (i = 2) and (j = 7) then iloczyn:=14;
> if (i = 2) and (j = 8) then iloczyn:=16;
> if (i = 2) and (j = 9) then iloczyn:=18;
> if (i = 2) and (j = 10) then iloczyn:=20;
> if (i = 3) and (j = 1) then iloczyn:=3;
> if (i = 3) and (j = 2) then iloczyn:=6;
> if (i = 3) and (j = 3) then iloczyn:=9;
> if (i = 3) and (j = 4) then iloczyn:=12;
> if (i = 3) and (j = 5) then iloczyn:=15;
> if (i = 3) and (j = 6) then iloczyn:=18;
> if (i = 3) and (j = 7) then iloczyn:=21;
> if (i = 3) and (j = 8) then iloczyn:=24;
> if (i = 3) and (j = 9) then iloczyn:=27;
> if (i = 3) and (j = 10) then iloczyn:=30;
> if (i = 4) and (j = 1) then iloczyn:=4;
> if (i = 4) and (j = 2) then iloczyn:=8;
> if (i = 4) and (j = 3) then iloczyn:=12;
> if (i = 4) and (j = 4) then iloczyn:=16;
> if (i = 4) and (j = 5) then iloczyn:=20;
> if (i = 4) and (j = 6) then iloczyn:=24;
> if (i = 4) and (j = 7) then iloczyn:=28;
> if (i = 4) and (j = 8) then iloczyn:=32;
> if (i = 4) and (j = 9) then iloczyn:=36;
> if (i = 4) and (j = 10) then iloczyn:=40;
> if (i = 5) and (j = 1) then iloczyn:=5;
> if (i = 5) and (j = 2) then iloczyn:=10;
> if (i = 5) and (j = 3) then iloczyn:=15;
> if (i = 5) and (j = 4) then iloczyn:=20;
> if (i = 5) and (j = 5) then iloczyn:=25;
> if (i = 5) and (j = 6) then iloczyn:=30;
> if (i = 5) and (j = 7) then iloczyn:=35;
> if (i = 5) and (j = 8) then iloczyn:=40;
> if (i = 5) and (j = 9) then iloczyn:=45;
> if (i = 5) and (j = 10) then iloczyn:=50;
> if (i = 6) and (j = 1) then iloczyn:=6;
> if (i = 6) and (j = 2) then iloczyn:=12;
> if (i = 6) and (j = 3) then iloczyn:=18;
> if (i = 6) and (j = 4) then iloczyn:=24;
> if (i = 6) and (j = 5) then iloczyn:=30;
> if (i = 6) and (j = 6) then iloczyn:=36;
> if (i = 6) and (j = 7) then iloczyn:=42;
> if (i = 6) and (j = 8) then iloczyn:=48;
> if (i = 6) and (j = 9) then iloczyn:=54;
> if (i = 6) and (j = 10) then iloczyn:=60;
> if (i = 7) and (j = 1) then iloczyn:=7;
> if (i = 7) and (j = 2) then iloczyn:=14;
> if (i = 7) and (j = 3) then iloczyn:=21;
> if (i = 7) and (j = 4) then iloczyn:=28;
> if (i = 7) and (j = 5) then iloczyn:=35;
> if (i = 7) and (j = 6) then iloczyn:=42;
> if (i = 7) and (j = 7) then iloczyn:=49;
> if (i = 7) and (j = 8) then iloczyn:=56;
> if (i = 7) and (j = 9) then iloczyn:=63;
> if (i = 7) and (j = 10) then iloczyn:=70;
> if (i = 8) and (j = 1) then iloczyn:=8;
> if (i = 8) and (j = 2) then iloczyn:=16;
> if (i = 8) and (j = 3) then iloczyn:=24;
> if (i = 8) and (j = 4) then iloczyn:=32;
> if (i = 8) and (j = 5) then iloczyn:=40;
> if (i = 8) and (j = 6) then iloczyn:=48;
> if (i = 8) and (j = 7) then iloczyn:=56;
> if (i = 8) and (j = 8) then iloczyn:=64;
> if (i = 8) and (j = 9) then iloczyn:=72;
> if (i = 8) and (j = 10) then iloczyn:=80;
> if (i = 9) and (j = 1) then iloczyn:=9;
> if (i = 9) and (j = 2) then iloczyn:=18;
> if (i = 9) and (j = 3) then iloczyn:=27;
> if (i = 9) and (j = 4) then iloczyn:=36;
> if (i = 9) and (j = 5) then iloczyn:=45;
> if (i = 9) and (j = 6) then iloczyn:=54;
> if (i = 9) and (j = 7) then iloczyn:=63;
> if (i = 9) and (j = 8) then iloczyn:=72;
> if (i = 9) and (j = 9) then iloczyn:=81;
> if (i = 9) and (j = 10) then iloczyn:=90;
> if (i = 10) and (j = 1) then iloczyn:=10;
> if (i = 10) and (j = 2) then iloczyn:=20;
> if (i = 10) and (j = 3) then iloczyn:=30;
> if (i = 10) and (j = 4) then iloczyn:=40;
> if (i = 10) and (j = 5) then iloczyn:=50;
> if (i = 10) and (j = 6) then iloczyn:=60;
> if (i = 10) and (j = 7) then iloczyn:=70;
> if (i = 10) and (j = 8) then iloczyn:=80;
> if (i = 10) and (j = 9) then iloczyn:=90;
> if (i = 10) and (j = 10) then iloczyn:=100;
> writeln('Iloczyn tych liczb: ', iloczyn);
> end.
Następne wpisy z tego wątku
- 21.02.17 23:43 Sebastian Biały
- 22.02.17 01:18 slawek
- 22.02.17 02:21 bartekltg
- 22.02.17 09:06 slawek
- 22.02.17 09:11 slawek
- 22.02.17 18:23 niepełnosprawny intelektualnie 'POPIS/EU
- 22.02.17 18:25 niepełnosprawny intelektualnie 'POPIS/EU
Najnowsze wątki z tej grupy
- Can you activate BMW 48V 10Ah Li-Ion battery, connecting to CAN-USB laptop interface ?
- We Wrocławiu ruszyła Odra 5, pierwszy w Polsce komputer kwantowy z nadprzewodzącymi kubitami
- Ada-Europe - AEiC 2025 early registration deadline imminent
- John Carmack twierdzi, że gdyby gry były optymalizowane, to wystarczyły by stare kompy
- Ada-Europe Int.Conf. Reliable Software Technologies, AEiC 2025
- Linuks od wer. 6.15 przestanie wspierać procesory 486 i będzie wymagać min. Pentium
- ,,Polski przemysł jest w stanie agonalnym" - podkreślił dobitnie, wskazując na brak zamówień.
- Rewolucja w debugowaniu!!! SI analizuje zrzuty pamięci systemu M$ Windows!!!
- Brednie w wiki - hasło Dehomag
- Perfidne ataki krakerów z KRLD na skrypciarzy JS i Pajton
- Instytut IDEAS może zacząć działać: "Ma to być unikalny w europejskiej skali ośrodek badań nad sztuczną inteligencją."
- Instytut IDEAS może zacząć działać: "Ma to być unikalny w europejskiej skali ośrodek badań nad sztuczną inteligencją."
- Instytut IDEAS może zacząć działać: "Ma to być unikalny w europejskiej skali ośrodek badań nad sztuczną inteligencją."
- U nas propagują modę na SI, a w Chinach naukowcy SI po kolei umierają w wieku 40-50lat
- C++. Podróż Po Języku - komentarz
Najnowsze wątki
- 2025-07-12 Warszawa => PC Hardware Expert / Specjalista PC <=
- 2025-07-12 Warszawa => Account Manager - Usługi rekrutacyjne <=
- 2025-07-12 Warszawa => Administrator IT <=
- 2025-07-12 Warszawa => IT Administrator <=
- 2025-07-12 Warszawa => Asystent/tka ds. Administracji <=
- 2025-07-12 Warszawa => Specjalista/stka ds. Organizacji <=
- 2025-07-12 Warszawa => MENA New Business Manager <=
- 2025-07-12 Gdynia => Controlling systems Consultant <=
- 2025-07-12 Warszawa => Developer Microsoft Dynamics 365 Finance & Operations (D36
- 2025-07-12 Warszawa => Programista Microsoft Dynamics 365 Finance & Operations (D
- 2025-07-12 Warszawa => Dyrektor IT <=
- 2025-07-12 Warszawa => IT Director <=
- 2025-07-12 Czy wypowiedź Kaczyńskiego o Braunie jest skarżalna? ["działa z OBCEJ inspiracji"]
- 2025-07-11 Rejestrator temperatur - termopara, siec
- 2025-07-11 DPD, przeniesienie numerów z a2mobile i z Orange