Easy
Double Until Over 100
Read a positive integer. Keep doubling it with a
while loop until it is more than 100, printing each value (including the start).Input
One integer 1–100.
Output
Several lines.
Sample 1
Input
5
Output
5 10 20 40 80 160
Sample 2
Input
60
Output
60 120
Output appears here