Created
May 23, 2017 03:08
-
-
Save drushman/7581e6a66e7fa29233b8919138b676bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program ageofuser(input,output); | |
var | |
i:integer; | |
n:integer; | |
begin | |
writeln('Please type n'); | |
readln(n); | |
i := 1; | |
while i < n do | |
begin | |
i := i * 2; | |
writeln(i); | |
end; | |
end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment