calling function calcArea to print the calculation to the console