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?

Short Answer2 MarksShared
2 Uses9 Views0 Likes