Zybooks Zybooks Zybooks Zybooks Zybooks Adtivity 2.42 Compute an expression Writ
ID: 3732125 • Letter: Z
Question
Zybooks Zybooks Zybooks Zybooks Zybooks Adtivity 2.42 Compute an expression Write a statement that assigns finalResult with the sum of numt and num2, divided by 3. Ex: If num1 is 4 and num2 is 5, finalResult 3. inport java.util.Scanner |public class co-puting, inalResult { 4public static void sain (String 1 args) ist nuni int Fisa1Result numt 4 num2 5 !" your solution goes here Systen.out.print"Final result:) System out.printin(finaiResult)) return Run ComputingFinalResult.java:13: cannot find symboExplanation / Answer
Ans1. finalResult = (num1 + num2) / 3;
Ans2. numOnes = amountToChange%5;
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.