Simple Calcutions using C language