+ 1
%3.2f" What is he doing?
printf("Pi = %3.2f", 3.14159);
5 Antworten
+ 7
It rounds 3.14159 to nearest 2 places. The output is 3.14
+ 5
Labor Kostya You are welcome😊
+ 4
3.2 means
minmum 3 slots including dot
and minmum 2 decimal point accuracy
like 3.14,4.12,9.28
+ 1
Thank you)
+ 1
%3.2 The %3 is just saying to take up 3digit space. And you get the rest from Muhammad Khairul Amirin Bin Yaacob's ans.