fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a , b;
  6. cout<< "Enter the 1st num: ";
  7. cin>> a;
  8. cout<< "\n Enter the 2nd num: " << endl;
  9. cin>> b;
  10.  
  11. cout<< a * b;
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 5288KB
stdin
5
6
stdout
Enter the 1st num: 
 Enter the 2nd num: 
30