Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Cislo x premenit na zrkadlove x
- program zrkadlovex;
- {$APPTYPE CONSOLE}
- uses SysUtils;
- var x,c:byte;
- begin
- { TODO -oUser -cConsole Main : Insert code here }
- write('Zadajte cislo: ');
- readln(x);
- while x<>0 do
- begin
- c:= x mod 10;
- x:= x div 10;
- write(c);
- end;
- readln;
- end.
Advertisement
Add Comment
Please, Sign In to add comment