
Code:for Loop


Output:


Code:while Loop


Output:


Code:dowhile Loop


Output:


Note
dowhile loop first print then check the condition at 1st time
dowhile loop first print then check the condition at 1st time
both 3 loops print the same output
write a programme that ask the user to enter 2 float type variable and which type Assignment operation want to do and print answer?