Write a program which has a function of type int called multiplication accepting two int parameters by value.
The function multiplies those two parameters and returns a result to itself.
Invoke the function in main and assign a result of the function to a local int variable.
Print the result in the console.
You can use the following code structure.
#include <iostream> int main() { //your code here }
#include <iostream> int multiplication(int x, int y) { return x * y; } int main() { int myresult = multiplication(10, 20); std::cout << "The result is: " << myresult; }