Guys plis help me | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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

27th Jul 2020, 10:40 AM
stephen haokip
stephen haokip - avatar
1 Resposta
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..!
27th Jul 2020, 1:22 PM
Jayakrishna šŸ‡®šŸ‡³