Respuesta :

Step-by-step explanation:

Since you did not specify what language to use, I am going to us R to write the while loop. With that said, please view the image I have posted.



Ver imagen Аноним

Answer:

while(user_num >= 1.0){

printf("%.2f", user_num);

user_num = user_num/2;

}

Step-by-step 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\n", user_num);

while(user_num >= 1.0){

printf("%.2f", user_num);

user_num = user_num/2;

}

ACCESS MORE
EDU ACCESS