Why I don't get my output properly? Plz! Help me. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Why I don't get my output properly? Plz! Help me.

https://code.sololearn.com/c3H814zd8s2B/?ref=app

4th May 2023, 11:11 AM
Gaurav Sharma
Gaurav Sharma - avatar
2 ответов
+ 5
What do you expect as "proper" output? Make it clear in your question. Do not let people guess. All the numbers are integers. If you want to divide, one would probably want a float output. Remember that floats are printed with %f and that at least one number in the term needs to be a float to get float output.
4th May 2023, 11:38 AM
Lisa
Lisa - avatar
+ 2
Thanks a lot mam! it works.
4th May 2023, 12:19 PM
Gaurav Sharma
Gaurav Sharma - avatar