cin.get()
cin
1234567891011121314151617181920212223242526
#include <iostream> using namespace std; void product(int, int, int); int main() { int a, b, c; cout << "Enter 1st: "; cin >> a; cout << "Enter 2nd: "; cin >> b; cout << "Enter 3rd: "; cin >> c; product(a, b, c); return 0; } void product(int x, int y, int z) { cout << endl << "Product is: " << x * y * z << endl; }