Computer Science, asked by Rjhelper, 10 months ago

write a program which will find and print summation and difference of two numbers​

Answers

Answered by kamleshgarg
3

class P1

{

void main ( int a , int b )

{

int s = a+b;

int d =a-b;

System.out.println("Sum="+s);

System.out.println ("Difference ="+d);

}

}

Hope it helps

Please make it the Branliest Answer

Answered by komalchawla023
0

I hope it can helpful for you

Attachments:
Similar questions