Write an expression that rounds the value of the variable x to the nearest tenth.
When is int(x/y) equal to x/y for real values x and y?
If x and y are type integer and both are positive, the value of the intrinsic function
modulo(x, y) is the remainder when x is divided by y. For example,
modulo(17, 5) = 2. Rewrite the following expression using the built-in function
modulo. Assume n is type integer with a positive value.
n - (n / 100) * 100
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here