Question: Integer my _ input is read from input. Integer x is initialized with 4 9 . Complete the while loop to perform the following tasks

Integer my_input is read from input. Integer x is initialized with 49. Complete the while loop to perform the following tasks at each iteration until x is less than my_input:
- Output the value of \( x \).
- Decrease x by 5.
Click here for example
Ex: If the input is 29, then the output is:
49
44
39
34
29
Integer my _ input is read from input. Integer x

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!