Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

i am writing a program in which main calls three functions, and one of those fun

ID: 3620399 • Letter: I

Question

i am writing a program in which main calls three functions, and one of those functions call two functions, i am in the last function which is performing the calculations, i have five input values and i am dividing the first by the second but only if the second is not equal to zero if it is equal to zero then i have to print DIV/O. do i need to use a else if statement for the program to carry on with the calculation if it is not equal to zero after the if statement for it to print DIV/O if it is equal to zero.

Explanation / Answer

please rate - thanks you are almost correct, just an else
sample