whats wrong?
public text v1 · immutable#include <stdio.h>
int main(void)
{
double sell, earn;
sell = 0;
printf ("Enter sales in dollars (-1 to end): ");
scanf ("%lf",&sell);
while ( sell != -1 )
{
earn = ( sell / 100 * 9 ) + 200;
printf ("Salary is: $%.2f\n\n",earn);
}
system ("PAUSE");
return (0);
}