this program compiles and gives the following return state/code
Exit code: -1073741819
this is very irritating i would also ask please do not post the output file here this is a challenge from arcanum i just want a working program.
please help me with this program.
this is what i have to do
thanks to all who help me as well
Number Triangles 7
8 1 0
2 7 4 4
4 5 2 6 5
The above figure shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route that starts at the top and ends somewhere on the base. Each step can go either diagonally down to the left or diagonally down to the right. In the sample shown above, the route from 7 to 3 to 8 to 7 to 5 produces the highest sum: 30.