Back to: Java Program’s
0
public class Addition
{
public static void main(String args[])
{
int x=40;
int y=2;
int z=x+y;
System.out.println("Answere is"+z);
}
}
Submitted By: Ms. Zarin Shroff
If this program was helpful to you, do leave a comment.
All Creadit goes to Ms. Zarin Shroff
P.N. : All the post on this website are for demonstration and education purpose only.
Student should perform all the practicals for there personal copies.
Admin, in line number 8, a ‘+’ sign should come, and not ‘*’….
Thank you suchetana Mukherjee.
thank you