Assume that the program has overloaded functions to perform sum of square of given number. The first accepts two integers, second accepts three arguments, fourth accepts four arguments and calculates the sum of square of given numbers Test Case 1 Input (stdin) 1 2 3 4 Expected Output The sum of square is 5 The sum of square is 14 The sum of square is 30 Test Case 2 Input (stdin) 1 3 5 7 Expected Output The sum of square is 10 The sum of square is 35 The sum of square is 84

#include <iostream>

using namespace std;

int main()

{

int a,b,c,d;

cin>>a>>b>>c>>d;

cout<<"The sum of square is "<<a*a+b*b;

cout<<"\nThe sum of square is "<<a*a+b*b+c*c;

cout<<"\nThe sum of square is "<<a*a+b*b+c*c+d*d;

return 0;

}