Computer Science, asked by imubasshira, 7 months ago

double d = 4.669;
printf("My number is %.2f.",d);
What is the output of the following code?
plz explain it

Answers

Answered by Anonymous
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