fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a , b;
  6. cout << "enter the first number" << endl;
  7. cin >> a;
  8. cout << "enter the second number" << endl;
  9. cin >> b;
  10. cout << "resault: " << a*b << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 5316KB
stdin
5 7
stdout
enter the first number
enter the second number
resault: 35