Question: write a program which takes 3 integers (int1, int2, int3) and 2 floating point numbers (fl1, fl2) from the user as input, and prints followings

  1. write a program which takes 3 integers (int1, int2, int3) and 2 floating point numbers (fl1, fl2) from the user as input, and prints followings at the same time:
    1. Summation of int1 and int2, divided by int3.
    2. Multiplication of fl1 and int2, subtracted from summation of int1 and int3.
    3. Division of fl1 by fl2, multiplied by subtraction of int1 from int2.

Test your code with sample data. If you have trouble compiling or running your code, you can ask to teaching assistant by raising your hand.

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!