Advertisement
mateusz1239196

10 kolejnych liczb nieparzystych

Mar 4th, 2016
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.22 KB | None | 0 0
  1. program ForToDo;
  2. var licznik,podanaliczba,x:longint;
  3. begin
  4. x:=0;
  5. writeln('Prosze podac nieparzysta liczbe.');
  6. readln(podanaliczba);
  7. for licznik:=0 to 9 do
  8. begin
  9. x:= x + 2;
  10. writeln(podanaliczba + x);
  11. end;
  12. readln;
  13. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement