Login or Create an Account to view the mark scheme, comment, and add to a test
I have the following variables declared and initiated: int num1 = 1; int num2 = 2; double ratio = num1 / 2.0; (a). What will be the output of System.out.println(num1/num2); (b). What will be the value of ratio?
[2]

Short Answer2 MarksShared
1 Use5 Views0 Likes