Consider the following do-while loop, whose job is to check for a valid customer identification number between the numbers 100 and 1999:do{   cout << "\nEnter an identification number: ";   cin >> idNum;}while ( // Missing expression goes here);Which of the following is the correct missing expression?

A. idNum >= 100 && idNum <= 1999
B. idNum < 100 || > 1999
C. idNum < 100 || idNum != 2000
D. idNum < 100 || idNum > 1999

Answer: D

Computer Science & Information Technology

You might also like to view...

The ________ function can be used to perform a single condition summary

Fill in the blank(s) with correct word

Computer Science & Information Technology

Project 2010 uses ____________________ to define how data will be imported and exported.

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

Computer Science & Information Technology