Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
#include
using namespace std; int main() { cout << hypot(3.0f, 4.0f) << "\n"; cout << hypot(1.0, 1.0) << "\n"; cout << hypot(1.0, 10.0) << "\n"; return 0; }
5
1.41421
10.0499