Question: need help finishing this program: the program is going to add together two numbers we get from the user and output the result import java.util.Scanner;

need help finishing this program:

the program is going to add together two numbers we get from the user and output the result

import java.util.Scanner; public class Simpleaddition {

public static void main(String[] args) { // TODO Auto-generated method stub Scanner input = new Scanner(System.in); System.out.print("Enter an integer: "); int v1 = input.nextInt(); System.out.print("Enter the second integer: "); int v2 = input.nextInt(); }

}

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!