Question: find the erro // This program divides a user-supplied number by another // user-supplied number. It checks for division by zero. #include using namespace std;

find the erro

// This program divides a user-supplied number by another // user-supplied number. It checks for division by zero. #include using namespace std; int main() { double numi, num2, q u o t i e n t : cout < "Enter a number: "; cin >> num1; cout < "Enter another number: cin > num2; if (num2 == 0) cout < "Division by zero is not possible. In";

cout < "Please run the program again ": cout << "and enter a number besides zero. ": else q u o t i e n t = num1 / num2; cout < "The quotient of " cout "divided by "<< num2 << " is ". cout << quotient << endl return 0; }

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!