If you have not leaned c++ there is obviously no way you can do this problem. When you start to learn the basics of c++ the solution to this problem will become quite easy to achieve. Don't get ahead of yourself. If you know nothing about c++, don't expect to be able to write programs in c++. Wait until you learn c++ to tackle this problem.
BestJewSinceJC commented: Thank God for computer majors. :) +4
Grn Xtrm 84 Posting Pro in Training
Grn Xtrm 84 Posting Pro in Training
Grn Xtrm 84 Posting Pro in Training
Grn Xtrm 84 Posting Pro in Training