Question: 1.) Typecast the math expression, so both num1 and num2 are of float data type. int num1 3; float num2 = 5.0; float result =


1.) Typecast the math expression, so both num1 and num2 are of float data type. int num1 3; float num2 = 5.0; float result = 0; result = num1 / num2; f Answer 2.) Typecast the math expression, so both num2 and result are of int data type. int num1 = 3; float num2 = 5.0; float result = 0; result = num1 / num2; f Answer 3.) Complete the following cout statement by typecasting vall and val2 to integers. char vall = 'A'; cout (num2) L. + Answer 7.) double result = num2 / num1 / (x / statifsast
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
