Discussion :: Object Oriented Programming Using C++
-
Which of the following is a valid condition for an if statement? (The condition should be both syntactically and logically valid.)
A.
(age) > 65
|
B.
(age > 0 and < 10)
|
C.
(sales > 500 && < 800)
|
D.
(sales > 100 && sales <= 1000)
|
E.
(sales > 100 || sales <= 1000)
|
Answer : Option D
Explanation :
No answer description available for this question.
Be The First To Comment