Question: Write a program to read two loating point number and the cities using the following formula and if else il ladder K = 3T-4F2 +P

 Write a program to read two loating point number and the

Write a program to read two loating point number and the cities using the following formula and if else il ladder K = 3T-4F2 +P T If value of T is more than or equals to 25 10% off fifvalue oft is less than 25 and greater than or equal to 16 15% off if value of Tis less than 16 and greater than or equals to 9 2% off If value of T is less than 9 1% off Print the values of T.F.P and K. SAMPLE OUTPUT: enter the values of T and F:3.0 4.5 T=3.008008 F=4.500000 P=0.845008 k=-75.758850

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!