Problems
Receive a natural number N as input, and write a program that prints from 1 to N, but the (n-1)-th value must be the quotient obtained by dividing the n-th value by 2.
Example
100
1 3 6 12 25 50 100
Source
자기주도C언어프로그래밍
Receive a natural number N as input, and write a program that prints from 1 to N, but the (n-1)-th value must be the quotient obtained by dividing the n-th value by 2.
100
1 3 6 12 25 50 100