Public static void main(String[] args) throws IOException {
int b,c,n,sum;
String a,x,y,z;
// TODO code application logic here
System.out.println("Enter Interer Value only....");
BufferedReader mno=new BufferedReader(new InputStreamReader (System.in));
a= mno.readLine();
n=Integer.parseInt(a);
y=mno.readLine();
c=Integer.parseInt(y);
x= mno.readLine();
b=Integer.parseInt(x);
sum=(n+c+b);
System.out.println("result is :"+sum);
}
}
hope Sum problem will solve by use this method..
int b,c,n,sum;
String a,x,y,z;
// TODO code application logic here
System.out.println("Enter Interer Value only....");
BufferedReader mno=new BufferedReader(new InputStreamReader (System.in));
a= mno.readLine();
n=Integer.parseInt(a);
y=mno.readLine();
c=Integer.parseInt(y);
x= mno.readLine();
b=Integer.parseInt(x);
sum=(n+c+b);
System.out.println("result is :"+sum);
}
}
hope Sum problem will solve by use this method..