Answer:
while(user_num >= 1.0){
printf("%.2f", user_num);
user_num = user_num/2;
}
Explanation:
I am going to write a C code for this.
The first step is read the value of user_num.
After that, inside the while loop, you print the value then divide user_num by 2.
In the print, %.2f prints the float to two decimal cases.
So
float user_num.
scanf("%f\\", user_num);
while(user_num >= 1.0){
printf("%.2f", user_num);
user_num = user_num/2;
}