1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// { autofold
#include <iostream>
using namespace std;
// }
class multiply
{
public:
long long operator()(int a, int b)
{
return a * b;
}
};
int main()
{
multiply myMultiplicator;
int a = 5;
int b = 8;
cout << "a*b = " << myMultiplicator(a, b) << endl;
}
Press desired key combination and then press ENTER.