eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingRe: Mnozenie › Re: Mnozenie
  • 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.

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: