Question: Section C Practical Instructions : Use Codeblocks / www.onlinegdb.com to write programs. Copy and paste program in the answer part. Write a C program to

 Section C Practical Instructions : Use Codeblocks / www.onlinegdb.com to write
programs. Copy and paste program in the answer part. Write a C
program to read two floating point numbers T and Ffrom the console
and find the value of K using the following formula K =

Section C Practical Instructions : Use Codeblocks / www.onlinegdb.com to write programs. Copy and paste program in the answer part. Write a C program to read two floating point numbers T and Ffrom the console and find the value of K using the following formula K = -3/T +5* F3 2* P T If value of T is more than or equals 10% of F to 25 5% of F If value of T is less than 25 and greater than or equal to 16 If value of T is less than 16 and greater than or equals to 9 If value of T is less than 9 2% of F 1% of F Sample output: enter the values of T and F:4 2 T=4.eeeeee F=2.eeeeee P=e.e2eeee K=33.959999 Section C Practical Instructions: Use Codeblocks / www.onlinegdb.com to write programs. Copy and paste program in the answer part. Write a program that accepts 10 integers form the user and then displays the sum of odd numbers and sum of even numbers using loops ( 10 Marks ) SAMPLE OUTPUT: Enter number 1 : 2 Enter number 2 : 4 Enter number 3 : 3 Enter number 4 : 2 Enter number 5 : 5 Enter number 6 : 6 Enter number 7 : 2 Enter number 8 : 6 Enter number 9 : 3 Enter number 10 : 2 Sum of even numbers is 24 Sum of odd numbers is 11 int Marks [20]= { 70, 85, 60, 55, 90, 100, 50 }; For the above code, answer the following questions i) Find the size of Marks array. How many number of elements are present in Marks array ? Find the index value for last element in array iv) Find the index value for the element 60 V) Find the value of Mark [2] + Mark [0] in Marks array. Debug the given C program to read and print N array elements. Find 10 errors in the given Code and correct the errors. (5Marks) Program on Arrays #include

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!