this is a program where you enter the wage and hours you work and it spits out the amount of money you should be receiving.. i am getting a possible loss of percision error.
here is my code
...
Type: Posts; User: ber1023
this is a program where you enter the wage and hours you work and it spits out the amount of money you should be receiving.. i am getting a possible loss of percision error.
here is my code
...
thats my whole problem?
public class GPA_Calc
{
public void addGrade(double x)
{
grade += x;
numtest++;
if (x >= 90)
gpagrade += 4;
else if (80 >= x && x <=89)