2. 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 given snippet when excluded
plz help
Share
2. 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 given snippet when excluded
plz help
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.
Answer:
CTR +1+2+3+4+0+8and then press the enter key