+ 2

setprecision in c++

I want to show digits printed to the right of the decimal point for average but it doesn't. What is wrong with this code ?? Help me please https://code.sololearn.com/c6qAZstHKRbk/?ref=app

7th Nov 2019, 7:29 PM
Armina
Armina - avatar
4 Respuestas
+ 3
Thanks a lot ~ swim ~
7th Nov 2019, 8:19 PM
Armina
Armina - avatar
0
Explicitly convert the result of the division to float
14th Jun 2023, 11:33 AM
Krishika R
Krishika R - avatar