You should not declare the variables once again in the function like SquareArea