Math, asked by manas021970, 9 months ago

write a program in java to enter 2 numbers and display the result with proper message​

Answers

Answered by pinkybansal1101
2

public class Number

{

public static void main(int a, int b)

{

int c;

c=a+b:

System.out.println("Sum is " + c);

}

}

here since u haven't told what had to be the numbers therefore I have calculated sum as a sample

so perform your actions accordingly

Hope it helps you out

Hope it helps you out mark as BRAINLIEST

Hope it helps you out mark as BRAINLIEST @phenom

Similar questions