Computer Science, asked by TheLegend11, 1 year ago

Write a program to add two numbers

Answers

Answered by Kshitijydv
4
Class Text
{
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
TheLegend11: Write a program to check the number given by user is a gold Bach number.
TheLegend11: If you done this i will mark you as brainliest or else you are a looser
TheLegend11: What
TheLegend11: Digi can you do the above given question
Answered by digi18
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);

}

}
Similar questions