You are trying to assign a floating point number to a variable that is an integer.
long int shirt,pants,other;
Try.
float shirt, pants, other;
In fact I would also look at the implementation of your other variables as well and see if they need to be floats or doubles.
Thank You
SO Much.
That relay helped.
:D
So i put it :
1 2 3 4
|
int myArray[6];
int money,shopingCart;
float shirt,pants,other;
char item[6];
|
AND IT WORKED :D
And I Can do this to:
1 2 3
|
float object,a;
a = 1-0.9;
object = 0+a;
|
But its kinda useless
:3
// Thanks Again!
Last edited on