IBM interview question

Write a program to calculate 'c' in the Pythagorean Theorem.