Question: General Instructions: Use code blocks or online compiler to do the given program .Write / copy paste the program in the space provided or upload

General Instructions: Use code blocks or online compiler to do the given program .Write / copy paste the program in the space provided or upload the file. Write a program that accepts 10 integers from the user using loops and then displays the product of numbers which are less than 4 and product of numbers which are greater than 8. (10 Marks) 4 Sample Output: Enter a number 1 : 1 Enter a number 2 : 2 Enter a number 3 : 3 Enter a number 4 : Enter a number 5 : 5 Enter a number 6: 6 Enter a number 7 Enter a number 8 8 Enter a number 9: 9 Enter a number 10 : 99 : Product of numbers less than 4 is 6 Product of numbers greater than 8 is 891 Instructions: Use Codeblocks / www.onlinegdb.com to do programs. 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= -3/T +5+F3 2 * P P 5 % If value of T is more than or equals to 10% 25 of F If value of T is less than 25 and greater than or equal to 16 of F If value of T is less than 16 and 2 % greater than or equals to 9 of F If value of T is less than 9 1 % of F 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.959
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
