Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
?
Lv 4
How to type a+b+the square root of a^2+b^2 into a calculator?
I'm attempting to create a C++ program to calculate the area and perimeter of a right-angled triangle. However, I cannot do this until I can actually type the equation into a calculator properly to ensure I get the right answer.
What I would like to know is, where are the brackets etc?
I've attempted it but can't seem to get it right.
Thank you.
Update:
Apparently 'a+b+√(a²+ b²)' doesn't work... :(
1 Answer
Relevance
Still have questions? Get your answers by asking now.