Next: Exercises
Up: The Assignment statement
Previous: Multiple Choice Questions
17/3 17%3 1/2 1/2*(x+y)
float x; int k, i = 5, j = 2;To what would the variables
x
and k
be set as a result
of the assignments
k = i/j;
x = i/j;
k = i%j;
x = 5.0/j;