//write a program which reads 2 numbers and then calls a functions
//the function returns the products of 2 numbers supplied to it
// the program will display the result obtained through the function call
1
Expert's answer
2016-04-11T10:21:04-0400
#include <iostream>
using namespace std;
int get_product(int &, int &);
int main() { int a, b; cout << "Please, input two numbers\n"; cin >> a >> b; cout << "The product of this numbers is: " << get_product(a, b) << endl; return 0; }
Comments
Leave a comment