Question: 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!