Hello, I've been having a lot of trouble with a variable type called "float64". I'm trying to create a do{}while loop to make the number count up each time. data is also defined as an array.
float64 data[1];
int i;
do{
for(i=0;i<1;i++)
{
data[i]=data[i]+.01;
if(data[i]>9.99)
data[i]=-9.99;
}
}while('0'=='0');
Any guidance would be appreciated. Also, this MUST be float64, so no other variable can be substituted for it. Thank you.