Discussion in 'C++' started by ballurohit, Jun 2, 2013.
The program gets error. The relevant txt file is enclosed.
kindly guide me for the same.
you've initialized years to 3 and the loop test condition years <= 3. You haven't incremented years inside of the loop, so it becomes infinite.
Initialize years to 1 and increment it inside of the loop.
Very very thanks sir,
I am very kind of u for giving such guidelines. I find u in best of health by the grace of God.
Separate names with a comma.