double d = 4.669;
printf("My number is %.2f.",d);
What is the output of the following code?
plz explain it
Answers
Answered by
1
output:
my number is 4.67
Explanation:
this code rounds of the decimal
______________________________________________
try running your code you will understand
hope it helps you:-)
Similar questions