The ideal type of loop to use for repeating a menu is a(n) ________ loop.

A) do-while
B) for
C) sentinel controlled
D) infinite
E) nested


A) do-while

Computer Science & Information Technology

You might also like to view...

Which would be the correct way to instantiate a containerClass object in your main program?

template class containerClass { public: containerClass(); containerClass(int newMaxSize); containerClass(const containerClass& source); ~containerClass(); T getItem(); int getCount(); int getSize(); void addItem(T item); private: T *container; int maxSize, count; }; a. containerClass myContainer; b. containerClass myContainer; c. containerClass myContainer; d. containerClass myContainer

Computer Science & Information Technology

When a sort order is not specified, the rows are sorted in descending order

Indicate whether the statement is true or false.

Computer Science & Information Technology

A(n) ____________________ character is displayed on screen to indicate that command language operating system is waiting for input.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The TCP/IP model is a(n) ____________________ layer model.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology