C++FactoryFunctionAndCin

+1
CPP
cpp
OUTPUT