Computer Science, asked by asimjalaluddin79, 7 months ago

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 Anonymous
1

sorry bro this program will show some errors

k is not initialised!

Similar questions