Answered step by step
Verified Expert Solution
Question
1 Approved Answer
if you can help with the solution of the code CHALLENGE ACTIVITY 2.5.2: Compute an expression. Write a statement that assigns finalResult with the sum
if you can help with the solution of the code
CHALLENGE ACTIVITY 2.5.2: Compute an expression. Write a statement that assigns finalResult with the sum of num1 and num2, divided by 3. Ex: If num1 is 4 and num2 is 5, finalResult is 3. 1 test passed 4 5 6 7 All tests passed 9 1 import java.util.Scanner; 2 3 public class ComputingFinalResult { public static void main(String[] args) { Scanner scnr = new Scanner(System.in); int numi; int num2; 8 int finalResult; num1 = scnr.nextInto; 11 num2 - scnr.nextInt(); 12 13 V* Your solution goes here */ 14 15 System.out.print("Final result: "); 16 system.out.println(finalResult); 17 } 18}Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started