Question: Make a file named divform.html which will have two text boxes to enter numerator and denominator by the user. It will have a button labeled

 Make a file named divform.html which will have two text boxes

Make a file named divform.html which will have two text boxes to enter numerator and denominator by the user. It will have a button labeled as 'Divide'. When the button is pressed, div.php file will be executed. Make a file named div.php which will integer divide the numerator by the denominator using intdiv) and display the result. Use try...catch to detect the DivisionByZeroError. If the error is detected, then show the error code, error message, file name and line number. Also display the image error.png (having width of 500 and height of 500) below the error message

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!