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 areof float data type. int num1 3; float num2 = 5.0; float

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 (num2); f Answer (x / statica cast int>(num2) : 8.) double result = num2 / numl * + Answer 9.) int answer = (y % z) + y + ((x / z) % y; + Answer 10.) int answer = (x + (y * (z / (numl / num2))) : f

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!