Which of the following does not display correct if answer is equal to 7 and incorrect if answer is not equal to 7?
a. if (answer == 7) {
cout <<"correct";
}
else {
cout &<<"incorrect";
}
b. cout <
d. answer == 7 ? cout << "correct": cout <<"incorrect";
b. cout <
You might also like to view...
What is the name for a broadcast sent to a specific subnet?
a. Multicast b. Broadcast c. Directed broadcast d. Sweep
Current search engines function by recognizing keywords
Indicate whether the statement is true or false
The Themes gallery is located on the _____ Ribbon tab.
A. Home B. Design C. Insert D. View
What does it mean to select text? List three types of text that you can select. List three things you can do with selected text. How do you deselect text? How do you select a word? How do you select a line?
What will be an ideal response?