Where as % is used to find mod(remainder of division) even this operation comes under arthamatic operators
B) the difference between while loop and do while loop is
While loop will be executed only when the given condition is true
Where as do while loop execute at least one time even is the condition is not true(false) and then checks the condition for further repeating of the loop and in do while we use (;) symbol after the while loop condition
C) Operators that operate on two operands are known as binary operators. Operators that operate on one operand are known as unary operators
Answers & Comments
Answer:
A) The difference between / and % is
/ is used to do division (arthamatic operation)
Where as % is used to find mod(remainder of division) even this operation comes under arthamatic operators
B) the difference between while loop and do while loop is
While loop will be executed only when the given condition is true
Where as do while loop execute at least one time even is the condition is not true(false) and then checks the condition for further repeating of the loop and in do while we use (;) symbol after the while loop condition
C) Operators that operate on two operands are known as binary operators. Operators that operate on one operand are known as unary operators