sayyred: How do I round to the nearest tenth while doing pythagorean theorem
Don't round until you get to the end. Or if you do round earlier, leave lots of decimal places. eg round to 5 decimal places.
Only round to one at the very end. Otherwise you will end up with rounding error.