Schematy programów WHILE


SCHEMAT BLOKOWY

PROGRAMU, KTÓRY ZNAJDZIE NAJWIĘKSZY WSPÓLNY DZIELNIK DWÓCH LICZB: A i B.

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic
0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic
0x08 graphic
0x08 graphic

0x08 graphic

0x08 graphic
0x08 graphic
0x08 graphic

0x08 graphic

0x08 graphic
0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic
0x08 graphic

0x08 graphic

0x08 graphic

SCHEMAT BLOKOWY

PROGRAMU, KTÓRY OBLICZY SUMĘ N=10 LICZB TYPU INTEGER.

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic
0x08 graphic

0x08 graphic

0x08 graphic
0x08 graphic

0x08 graphic
0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic
0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic
0x08 graphic

SCHEMAT BLOKOWY

PROGRAMU, KTÓRY WCZYTUJE ZNAKI Z KLAWIATURY TAK DŁUGO, DOPÓKI NIE ZOSTANIE WPISANY ZNAK(`*').

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic
0x08 graphic
0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

0x08 graphic

START

Czytaj (A);(B);

T

Wypisz:

(`NWD podanych liczb (`,A,',',B,')= ');

A = B?

A := A - B;

N

END

N

A < B?

T

Pom := A;

A := B;

B := Pom;

START

Czytaj (X);

T

Wypisz:

(`SUMA CAŁKOWITA N=', N,'LICZB WYNOSI:',Suma);

K := K + 1;

N = 10;

N

END

Suma := Suma + X;

START

K <= B?

Wypisz:

(`Podaj znak i wciśnij ENTER : ');

K := 1;

Suma := 0;

Wypisz:

(`SUMA CZĘŚCIOWA LICZB WYNOSI :',Suma);

Czytaj (Znak);

Znak<>'*'?

N

END

Czytaj (Znak);

Wypisz:

(`Podaj znak i wciśnij ENTER : ');

T



Wyszukiwarka

Podobne podstrony:
Schemat blokowy While 3
Schemat blokowy While 2
Schematy programów REPEAT
Schemat programu IF2
Schematy programów FOR
Schemat blokowy While 1
schemat programowania wsadowego
Schemat programu IF3
Schemat programu IF1
Schemat programu REPEAT3
1Co to jest zgrzewanie oraz schematy i programy zgrzewania liniowego 2
SCHEMAT programatora willem
Schemat programu blokowego
SCHEMATY w programie 1997 2003
Schemat blokowy Do While 2
kl 2, folie1, ZAPIS PROGRAMU ZA POMOCĄ SCHEMATÓW BLOKOWYCH
16a. Petla do while, Programowanie, Klasa III
Program fortran sem 2, schemat
PRZYKŁADOWY SCHEMAT INDYWIDUALNEGO PROGRAMU?UKACYJNEGO

więcej podobnych podstron