Each of the following programs has errors. Find as many as you can.
// 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 num1, num2, quotient; cout ≪ "Enter a number: "; cin ≫ num1; cout ≪ "Enter another number: "; cin ≫ num2;if (num2 == 0) cout ≪ "Division by zero is not possible.\n"; cout ≪ "Please run the program again "; cout ≪ "and enter a number besides zero.\n";else quotient = num1 / num2; cout ≪ "The quotient of " ≪ num1 ≪ cout ≪ " divided by " ≪ num2 ≪ " is "; cout ≪ quotient ≪ endl;return 0;}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.