If I wanted to do aritmit equations with fractions how would I do it? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

If I wanted to do aritmit equations with fractions how would I do it?

I cannot turn them to decimals to do the process just fractions. https://code.sololearn.com/cyNy7qci2Sj0/?ref=app

29th Aug 2018, 3:58 AM
Jossue
Jossue - avatar
1 Resposta
+ 2
Just use double format instead of int and you don't need to turn anything to different number format.
29th Aug 2018, 6:37 AM
TheWhĀ”teCat šŸ‡§šŸ‡¬
TheWhĀ”teCat šŸ‡§šŸ‡¬ - avatar