Find the errors
A) #include <iostream>;
using namespace std;
int main()
{
const int number1, number2, product;
cout << "Enter two numbers and I will multiply\n";
cout << "them for you.\n";
cin >> number1 >> number2;
product = number1 * number2;
cout << product
return 0;
}
B) #include <iostream>;
using namespace std;
main
{
int number1, number2;
cout << "Enter two numbers and I will multiply\n"
cout << "them by 50 for you.\n"
cin >> number1 >> number2;
number1 =* 50;
number2 =* 50;
return 0;
cout << number1 << " " << number2;
}
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.