If you need to write a do-while loop that will ask the user to enter a number between 2 and 5 inclusive, and will keep asking until the user enters a correct number, what is the loop condition?
a. (2<=num<=5)
b. (2<5
d. (2 < number || number > 5)
e. (2 > number && number > 5)
d. (2 < number || number > 5)
Computer Science & Information Technology
You might also like to view...
You can have multiple objects open at one time and use the object tabs to move from one object to another
Indicate whether the statement is true or false
Computer Science & Information Technology
The queue data structure is commonly applied in connection with
A) managing the order of print jobs. B) communications software. C) operating systems. D) All of the above E) None of the above
Computer Science & Information Technology