Java code to print sum of two numbers
Answers
Answered by
6
Answer:
Java program to add two numbers
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);
Similar questions