Write syntax to find the rounded-off of a number b
Answers
Answered by
1
Answer:
Given a positive number n (n > 1), round-off this number to a given no. of significant digits, d.
Examples:
Input : n = 139.59
d = 4
Output : The number after rounding-off is 139.6 .
The number 139.59 has 5 significant figures and for rounding-off
the number to 4 significant figures, 139.59 is converted to 139.6 .
Input : n = 1240
d = 2
Output : The number after rounding-off is 1200 .
Answered by
2
Answer:
Thank you for free points.
Mark me as brainliest.
Inbox me anyone
Similar questions