Find the value of sum when:
(a) val= 600 (b) val= 1600
int val, sum, n= 550;
sum= n + val > 1850 ? 500 : 300;
Answers
Answered by
1
Answer:
class boards
{
void outputbasedquestions()
{
int x=5;
System.out.println(5*++x); //ICSE 2005
x=5;
System.out.println(5*x++); //ICSE 2005
int m=5;
int n=2;
m-=n;
System.out.println("m is = " +m);
m=5;
n=2;
n=m+m/n;
System.out.println("n is =" +n);
int a=0, b=30, c=40;
a=--b+c+ ++b; //ICSE 2006
System.out.println("a = " +a);
Similar questions
Math,
25 days ago
English,
25 days ago
Accountancy,
25 days ago
Social Sciences,
1 month ago
Physics,
1 month ago
Chinese,
9 months ago