Each of the following programs has some errors. Locate as many as you can.
A) using namespace std;
int main()
{
double number1, number2, sum;
Cout << "Enter a number: ";
Cin << number1;
Cout << "Enter another number: ";
Cin << number2;
number1 + number2 = sum;
Cout "The sum of the two numbers is " << sum
return 0;
}
B) #include
using namespace std;
int main()
{
int number1, number2;
double quotient;
cout << "Enter two numbers and I will divide\n";
cout << "the first by the second for you.\n";
cin >> number1, number2;
quotient = double
cout << quotient
}
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.