Question: A program asks the user to enter two numbers which are stored in variables num 1 and num 2 . Which if statement correctly displays
A program asks the user to enter two numbers which are stored in
variables num and num Which if statement correctly displays message OK only
when both variables store value
if num and num :
print OK
if num or num :
print OK
if num or num :
print OK
if num and num :
print OK
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
