Question: What is the main difference between if and while? a . There is no difference between if and while. b . if and while are
What is the main difference between if and while?
a There is no difference between if and while.
b if and while are both executed multiple times.
c The while block is executed only once. if is executed multiple times.
d The if block is executed only once. The while block is executed multiple times.
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
