October 2018 1 27 Report

PROSZĘ O OBKOMENTOWANIE ŹRÓDŁA:

program wybory; var glosy:array[1..15000] of byte;

i:integer; x:byte;

begin randomize;

for i:=1 to 15000 do begin

x:=random(2);

glosy[i]:=x; if x=1 then begin x:=random(4);

glosy[i]:=x+1; end; end; for i:= 1 to 15000 do write

glosy[i],' '); readln;

end;

k1:=0; k2:=0; k3:=0; k4:=0; brak:=0;

for i:= 1 to 15000 do begin if glosy[i]=0 then brak:=brak+; if glosy[i]=1 then k1:=k1+1; if glosy[i]= 2 then k2:=k2+1; if glosy[i]= 3 then k3:=k3+1; if glosy[i]= 4 then k4:=k4 +1: end;

writeln('Głosowało,' k1+k2+k3+k4); writeln('Na Kandydata nr 1 głosowało,' k1); writeln(' Na Kandydata nr 2 głosowało,'k2); writeln(' Na Kandydata nr 3 glosowało,'k3); writeln('Na Kandydata nr 4 głosowało,'k4); readln; end.


More Questions From This User See All

BARDZO PROSZĘ O ROZWIĄZANIE TYCH ZADAŃ: ZADANIA SĄ Z KSIĄŻKI ,, Matura Upload 2''- ćwiczenia strona 62. ZAD.1 Fill in the correct reflexive pronoun.1. Greg taught.............how to make things out of clay.2. My little sister never cleans up after.............. .3. Most teens look after.......................and try and keep fit and halthly. 4. Please help...............to any of the starters on the menu. 5. Let me introduce............. . I'm your new Bilogy teacher.2. Fill in so, souch(a/an). 1. Ms Lillian is..............patient teacher. Everyone in the class likes her.2. It was ..................... hard work that we got tired very quickly.3. That advert has got ..............catchy song that I can't stop singing it.4. Those trainers are ............. popular that most teens are wearing them. 5. This is .....................amazing bargain that I am going to buy it.3. Complete the sentences using so or such.1. The weather was awful. We didn't go out. It............................................ .2. The landscape was beautiful. We took lots of pictures. The ...................................... . 3. They are talented artists. They exhibit their work in the local gallery. They......................................... .4. Cartoons are entertaining. Children love to watch them. Cartoons......................................5. The ad for the book was successful. The company had to print more copies. It.....................................................BARDZO PROSZĘ O ROZWIĄZANIE TYCH ZADAŃ: ZADANIA SĄ Z KSIĄŻKI ,,Matura Upload 2'' - podręcznik.ZADANIE 2c). Fill in: crying, flat, beating, shelter, crashing, rescue. 1. I could see waves .............on the beach.2. We decided to find ...............to protect ourselves from the tsunami. 3. When they heard the bad news they started.............. . 4. Emergency services tried hard to....................... the trapped men.5. The trees were lying.............on the ground.6. He was so scared his heart was ....................fast.ZADANIE 4 a). Look at the picture and put the verbs in brackets into the pastcontinuous.1. Bob and Sandra................(eat) sandwiches. They .................................(not/play) volleyball.2. Darren ...................(swim). He .....................(not/walk) the dog. 3. Tina and Sharon.......................(play) volleyball. They (not/eat) sandwiches.4. Ryan ...............(walk) the dog. He ..................(not/read) a book on the beach. 5.Vicky ..................(read) a book. She....................(not/swim).
Answer

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.