Coded Calculations

Coded calculations for if statement