Computer Science Canada Help Making a Turing Program |
Author: | RyGuy176 [ Tue Feb 26, 2013 1:45 pm ] | ||
Post subject: | Help Making a Turing Program | ||
I am trying to make a program in Turing that will compute the bank balance at the end of each year for 10 years resulting from an initial deposit of $1000 and an annual interest rate of 6% (Compound Interest) and give the Output for each year end the number of the year, the initial balance, the interest for the year, and the balance at the end of the year <> I have the formula but I can't figure out how to get Turing to add the numbers up. I give it the number 10 for total years but it does only one equation with it. <Answer Here> I'm new to Turing so i'm still trying to figure out somethings, but just can't seem to get the hang of the math in it, and no online tutorials have helped. Below is the code that me and my co-creator have written.
I am Using Turing 4.1.1 <Answer Here> |
Author: | Tony [ Tue Feb 26, 2013 2:26 pm ] |
Post subject: | RE:Help Making a Turing Program |
How are the printed values supposed to change from year to year? Where in the program are you changing the values in such a way? |
Author: | RyGuy176 [ Thu Feb 28, 2013 1:15 pm ] |
Post subject: | Re: Help Making a Turing Program |
I couldn't figure that out. That's why I need help |
Author: | Tony [ Thu Feb 28, 2013 1:28 pm ] |
Post subject: | Re: Help Making a Turing Program |
I thought that... RyGuy176 @ Tue Feb 26, 2013 1:45 pm wrote: I have the formula
forget about Turing for a moment, and explain to me how I would use the formula. Consider that I can do basic math very well, but otherwise will make no assumptions about the instructions given. |