int product= (int) (first[2]-'0') * (int)(second[2]-'0');
atoi(first.c_str())
first
second
cin
int first cin >> first;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)