Challenge 3: Square Numbers and Return their Sum

In this challenge, you need to implement a function which squares passing variables and return their sum.

Problem Statement

Implement a function squareSum(float num1, float num2, float num3) which takes three numbers, square them and returns their sum.

Input

Three floating point numbers.

Output

Sum of the squares of passing numbers

Sample Input

2.1, 3.2, 4.0

Sample Output

30.65

Get hands-on with 1200+ tech skills courses.