0
Guys plis help me
If a = 1/10 b = 1/15 c = 1/2 What is a:b:c Plis explain me in detail
1 Antwort
0
Is it about maths or java program?
in java programming it is all 0:0:0
Because in all, int/int result int. So 1/10=0,1/15=0,1/2=0
In maths, a:b:c divide all by 10*15*2 then,
you get 30:20:150 =>3:2:15
Mention your doubt clearly with your expected output....? What's wrong you getting..!