LetsGetChecked Interview Question

Code the pythoras theorem in c++