Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

5. Do you have any foreign language proficiency?

Answered: 1 week ago

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago