Computer Science, asked by dasmdas, 11 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);​

Answers

Answered by inderveersingh05
4

Answer:

c=a/b

c=15/3

c=5

Explanation:

system.out.println(c);5

Similar questions