MUL

Description:

Write a program with a function that takes two int parameters, mulitply them together, then returns the result. The program should ask the user for two numbers, then call the function with the numbers as arguments, and tell the user the multiplication. Test Case 1 Input (stdin) 5 3 Expected Output 15 Test Case 2 Input (stdin) 1 10 Expected Output 10

Program :

#include <iostream>

using namespace std;

int main()

{

int a,b,c;

  cin>>a>>b;

  c=a*b;

  cout<<c;

return 0;

}