Computer Science, asked by pm896867, 10 days ago

write the program in java to find the sum of two numbers​

Answers

Answered by savalerohit56
0

Answer:

electricity for homes and business makes up around ____ of carbon emissions.

Answered by MinyoongiKS
0

Answer:import java.util.Scanner;

class AddNumbers

{

public static void main(String args[])

{

int x, y, z;

System.out.println("Enter two integers to calculate their sum");

Scanner in = new Scanner(System.in);

x = in.nextInt();

y = in.nextInt();

z = x + y;

System.out.println("Sum of the integers = " + z);

}

}

Advertisement

Explanation:

Similar questions