The code with the bug:
int main()
{
int num1, num2;
cout << "Enter two numbers: ";
cin >> num1 >> num2;
cout << "The product of " << num1 << " and " << num2 << " is: " << num1 * num2 << endl;
return 0;
}
What could fix the bug in the code above?
Comments
Post a Comment