Computer Science, asked by rajasangeethasuresh, 6 months ago

Write a program to add the two numbers.

Note: Get the user input/Give static variable(x = 6,y=7) declaration​

Answers

Answered by mayureshbelamkar1906
0

Answer:

Answer

Explanation:

class program

{

public static void main (int x, int y)

{

int a;

a = x+y

System.out.println("The addition of two numbers is " + a);

}

}

plz mark me as the brainliest plz

Similar questions