Apr-03-2019, 06:56 AM
to Yoriz:
I am not sure what you mean by -129000,
if you compute 1000000*1.13 -1000 (in the description I wrote +A, my mistake)
you get 1129000. How did you obtain a negative number?
to ichabod801:
I am using the 3.7 version.
I wrote 100.0 like suggested and I obtain the same outcome.
you said
to micseydel:
my snipped of code runs and all I obtain is what I already wrote.
In case I would have ran into an error (or anything else for that matter)
I would have said so.
to everyone:
my code is still producing the same output and I do not know how to fix it.
I am not sure what you mean by -129000,
if you compute 1000000*1.13 -1000 (in the description I wrote +A, my mistake)
you get 1129000. How did you obtain a negative number?
to ichabod801:
I am using the 3.7 version.
I wrote 100.0 like suggested and I obtain the same outcome.
you said
Quote: It fails because none of the variables (balance, r, n, or A) are defined before you try to use them on lines 7 and 8.what do you mean? Those variables are declared in line 2,3,4.
to micseydel:
my snipped of code runs and all I obtain is what I already wrote.
In case I would have ran into an error (or anything else for that matter)
I would have said so.
to everyone:
my code is still producing the same output and I do not know how to fix it.