Question: c programming language 4) Define an array with 20 elements. a) Input the values of array by keyboard ( 5 P) b) Find the number

c programming language
c programming language 4) Define an array with 20 elements. a) Input

4) Define an array with 20 elements. a) Input the values of array by keyboard ( 5 P) b) Find the number of positive elements and print the number of positive elements. (5 P) c) Find the number of negative elements and print the number of negative elements. (5 P) d) Find the maximum nefgative element in array. (Note: Think that the 0th element is a positive) (10 P)

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!