Question: 4. The two integer variables x=9 and y=4 are given as input data. Using casting polymorphic technique write a program that calculate the following expression
4. The two integer variables x=9 and y=4 are given as input data. Using "casting" polymorphic technique write a program that calculate the following expression using integer variables x and y. z=(x+2y)/3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
