Simply I need to convert a code from C++ to Visual C++. It's a simple program which get some number and will show results. I want someone to move this simple code to Visual C++. This is very urgent and I know a C++ beginner can do this in an hour.
This is the code. Inputs and output have to integrate to Visual C++.