Monday, July 27, 2009

I need help in C++. This is not a HW. a friend asked me to help him & I wasn't able to So please if u can?

Write a complete program that will be used to draw a square using two letters chosen by the user.


The user will also pick the length of each side of the square.


Allow only side lengths of 3 to 25, inclusive (but your function to do this must be more generic than just these values).


Assume the user will type the keys for an integer input for the height (do not check for things like "eight").


Only allow the user to input the letters A, B, C, D, E, F, G, H or I (or a, b, c, d, e, f, g, h, or i) for drawing the square (but your function to do this must be more generic than just these values). (There's probably another function lurking under this get two valid characters function!)


The two letters do not have to be different (no need to check for this).


If the user doesn't give valid letters on the first try, tell the user how many tries it took to get valid letters.


If the user enters lowercase letters, we'll need to convert them to uppercase (but we will not be doing this the way you migh

I need help in C++. This is not a HW. a friend asked me to help him %26amp; I wasn't able to So please if u can?
That is lot of work, may be you can contact a C++ expert live at website like http://askexpert.info/ .


No comments:

Post a Comment