Computer Science, asked by himanisng21, 7 months ago

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);
}
predict the output of the given snippet,when executed​

Answers

Answered by sampurna53
5

Answer:

here is your answer

Explanation:

Thankuuu

Attachments:
Similar questions