fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int num1, num2, product;
  6. cout << "Enter the first integer: ";
  7. cin >> num1;
  8. cout << "Enter the second integer: ";
  9. cin >> num2;
  10. product = num1 * num2;
  11. cout << "The product of " << num1 << " and " << num2 << " is " << product << ".";
  12. return 0;
  13. }
Success #stdin #stdout 0s 5292KB
stdin
Standard input is empty
stdout
Enter the first integer: Enter the second integer: The product of 48685776 and 21924 is -2059903680.