This Post has some Previous Posts, you can access the first Main Post here: Some C++ Problems for Beginners (1) The code was written and tested on Visual Studio 2010 –> “Empty Windows Console Application” . if you don’t have Visual Studio, you can get the latest version from : -Visual C++ 2010 Express: http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express note that, you can also use another IDEs like: -Visual Studio Express 2012 for Windows Desktop: http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products#product-express-summary -CodeBlocks: http://sourceforge.net/projects/codeblocks -GNU C++ compiler GCC(g++): http://gcc.gnu.org/ -MingW GCC port for windows: http://www.mingw.org/ -C++ Builder (Borland): http://www.embarcadero.com/products/cbuilder 1. -AlphabeticalModulus.cpp: Problem Definition: Write a Program that read 2 Numbers from the user X & Y where 1<= Y <= 9 (if Y is not in the specified range terminate the program) Print R = X % Y (R = X Modulus Y) in English Letters e.g. if R = 5 --> Print "Five" note: R will always be a value between 0 and 9
download the AlphabeticalModulus.cpp (Commented, Explained Code) | |||||
Download all the C++ Simples I’ve created : C++ Problems |
Monday, June 3, 2013
Some C++ Problems for Beginners (2)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment