Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C program to read two floating point numbers T and F from the console and find the value of K using the following

image text in transcribed

Write a C program to read two floating point numbers T and F from the console and find the value of K using the following formula and if else if ladder. K=-3T +5* F13 2 * P If value of T is more than or equals to 25 10 % of F If value of T is less than 25 and greater than or equal to 165 % of F If value of T is less than 16 and greater than or equals to 9 | 2 % of F 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:4 2 T=4.000000 F=2.000000 P=0.020000 K=33.959999

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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions

Question

Question Can a self-employed person adopt a profit sharing plan?

Answered: 1 week ago