fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int multiply(int a,int b){
  5. int ans = a*b;
  6. return ans;
  7. }
  8. int main() {
  9. // your code goes here
  10. int r,t;
  11. cin>>r>>t;
  12. int ans =multiply(r,t);
  13. cout<<ans<<endl;
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5476KB
stdin
12 15
stdout
180