The following code was intended for obtaining the number of times you have to divide 1 by 2 to get a value less than one ten-thousands (0.0001).Pleasepoint out errorsandcorrect/completethe code.
//Declare variables
int number = 1;
double quotient = number/2;
while(quotient>=0.0001);
{
quotient = quotient/2;
}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here