Write a program to add two numbers
Answers
Answered by
4
Class Text
{
static.void.main( int a,int b)
{
int a+b
System.out. println("The sum of two number="sum);
}
}
{
static.void.main( int a,int b)
{
int a+b
System.out. println("The sum of two number="sum);
}
}
TheLegend11:
I just wanna check this app if you have much knowledge then answer this question
Answered by
4
public class Add {
public static void main (String [ ] args){
int a=2 , b =5, c;
c = a + b;
System.out.println("Addition is=" +c);
}
}
public static void main (String [ ] args){
int a=2 , b =5, c;
c = a + b;
System.out.println("Addition is=" +c);
}
}
Similar questions
Social Sciences,
8 months ago
English,
8 months ago
Biology,
8 months ago
Science,
1 year ago
Math,
1 year ago