After everything said about
system("CLS")
? Get real!
Of course he nailed it. We ALL could have, be we were trying to help you figure it out. Not give the answer, like Nuclear. Way to go, N :confused:The problem is, his solution is not very well designed.
1) Adding 43. 0 would be better. With 43 you have to recode if you add a person.
2) Ado-while
when you accept the value at the top and still have to run through the loop to get to the bottom. A normalwhile
would be more obvious.Also, see this about using
getch()
. You should change to something portable and inherently C++, not a C add-on.
oh, okay, but I really need a solution because it's kinda urgent.
and also, I have already been thinking of changing 43 to 0 the moment I see his post.
the getch() is what they have told in school.. so.. yeah.
Thank you so much.