Program to find square and half of given number without using built-in function and arithmetic operator