(3 pts) Given the following block of code (and assuming it i…
(3 pts) Given the following block of code (and assuming it is part of a bigger program that otherwise compiles), what will be the value in the answer variable after the code executes? int answer; double val1 = 5.0;int val2 = 2; answer = val1/val2;