If you want a user to enter exactly 20 values, which loop would be the best to use?

a. while
b. for
c. switch
d. do-while
e. None of these

b. for

Computer Science & Information Technology

You might also like to view...

Which of the following is true about disk and memory usage on virtual machines in Hyper-V?

A. you can use an existing virtual hard disk rather than create a new one B. you need to allocate at least 1 GB of RAM for a Windows Server 2008 VM C. you can change a VM's memory allocation when it is running D. you should assign a lesser amount of RAM during OS installation and increase it after installation

Computer Science & Information Technology

In a combined segmentation/paging system, ________.

a) all the pages of a segment must be in main memory at once b) virtual memory pages that are contiguous in virtual memory must be contiguous in main memory c) segments typically are arranged across multiple pages d) all of the above

Computer Science & Information Technology