3. int b=3,k,r;
float a=15.15,c=0;
if(k==1)
r=(int)a/b;
System.out.println(r);
else
c=a/b;
System.out.println(c);
Answers
Answered by
13
It executes else case as k==1 is false,so else case is executed.
c=a/b;
c=15.15/3;
c=5.05;
Output :-- 5.05
Value is 5.05 as c is float variable.
Pls follow me on Instagram and brainly,I'd is on my profile.
Answered by
3
Answer:
here is the ans
Explanation:
Thankuuu
Attachments:
Similar questions
Hindi,
5 months ago
Math,
5 months ago
Social Sciences,
11 months ago
Social Sciences,
11 months ago
Political Science,
1 year ago
Science,
1 year ago
English,
1 year ago