Examlex

Solved

What Is the Output of the Following Code Segment If

question 45

Multiple Choice

What is the output of the following code segment if the user enters 23?
Int number;
Cout << "Enter a number:
";
Cin >> number;
If (number > 0)
Cout << "Hi, there!" << endl;
Else
Cout << "Good-bye." << endl;


Definitions:

Related Questions