Problem with C#: Arithmetic Operators | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Problem with C#: Arithmetic Operators

PLEASE HELP! https://code.sololearn.com/cd1ykMJxq2h4/?ref=app I put the variable type as float but it still won't give me the full answer (2.5) but instead round it off to 2 as Iif it was an integer. How do I change this?

2nd Mar 2020, 9:09 PM
William Knight
William Knight - avatar
0 Resposta