Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

=+you think is being taxed when more money is printed? Why?

Answered: 1 week ago