Physics, asked by priya2882, 11 months ago

write a program to add two numbers

Answers

Answered by hardikpaneru04
3

Answer:

In Java programming,

the program will be

class add

{

public static void main (int a, int b)

{

int s=a+b;

System.out.print("Sum is " +s);

}

}

This is your answer mate

Similar questions