Thanks Daved
I guess I'm still getting used to arrays
It works perfectly #.#
Type: Posts; User: diyteam
Thanks Daved
I guess I'm still getting used to arrays
It works perfectly #.#
tabstop/daved:
Err, yeah. I have 5 elements
but total[5] allows you to edit
total[0]
total[1]
total[2]
total[3]
total[4]
total[5]
//before this, i calculate the various taxes
float total[4]; //problem can be fixed by making this float total[5];, but then
//i have an empty slot. total[5]....
Thanks Daved again - you've been really helpful.
Here's what is shown:
Input name: John Mendez
Input newvar1: 2
Input newvar2: 5
Input newvar3: 1
Input name: Input newvar1: 5
Thanks Daved. This solves it for me =)
I have an assignment for programming that is actually pretty easy, if it were not for this error:
"Warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data."
note: I MUST...