Home / CSE / Object Oriented Programming Using C++ :: Discussion

Discussion :: Object Oriented Programming Using C++

  1. Which of the following is a valid condition for an if statement? (The condition should be both syntactically and logically valid.)

  2. A.
    (age) > 65
    B.
    (age > 0 and < 10)
    C.
    (sales > 500 && < 800)
    D.
    (sales > 100 && sales <= 1000)
    E.
    (sales > 100 || sales <= 1000)

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment