Compute expressions
public class computeexp
{
public static void main(String arg[])
{
System.out.println(((10+4)/2)+1);
}
}
output: -
How?
Ans:- 10+4=14/2=7+1=8
{
public static void main(String arg[])
{
System.out.println(((10+4)/2)+1);
}
}
output: -
How?
Ans:- 10+4=14/2=7+1=8