Nov-08-2020, 06:26 PM
Write a program having a void function that receives a 4 - digit number and calculates the sum of square of the first two digits and last two digits .
Eg if 1233 is passed as argument then the function should calculate 12 square + 33 square
Eg if 1233 is passed as argument then the function should calculate 12 square + 33 square