Find the output of i)val=1000
ii)val=1500
int val, sum,n=500;
sum=n+val>1750?500:250;
System.out.println (sum);
Share
Find the output of i)val=1000
ii)val=1500
int val, sum,n=500;
sum=n+val>1750?500:250;
System.out.println (sum);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies