Newmath.cpp

Full program