Object Oriented Programming Using C++ - Section 8 :: Discussion


20.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)
Answer:  Option  D
Explanation:

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers