Question: Enter that code into your IDE and run it to test and then debug it . You will find several bugs. When you find a

Enter that code into your IDE and run it to test and then debug it. You will find several bugs.
When you find a bug, fix it]and leave a comment for each bug you squash and explain what was wrong with it. State whether it is a syntax, runtime, or logic error. Place each comment on its own line directly above the line that had the bug in it:
After debugging, the code should:
i. Ask the user to input two numbers, represented by num1 and num2.
ii. Print the product of the two numbers.
iii. Print the quotient of the two numbers if the division is a legal operation. Otherwise, it should print a message saying that you cannot divide by 0.
 Enter that code into your IDE and run it to test

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!