# Challenge 1: Square Numbers and Return their Sum

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

## We'll cover the following

## Coding Exercise #

First, take a close look and design a step-by-step algorithm before jumping to the implementation. This problem is designed for your practice, so initially try to solve it on your own. If you get stuck, you can always refer to the solution provided in the solution section.

**Good Luck!**

// Square Sumclass SquareSum {// Method to sum the squares of three numbersdouble squareSum(double num1, double num2, double num3) {double sum = 0;// Write your code herereturn sum;}}

The solution will be explained in the next lesson.