Question: URGENT PLS SOLVE AS SOON AS POSSIBLE NOTE: PLEASE ANSWER IN C LANGUAGE PLEASE USE COMMENTS WHENEVER REQUIRED IN CODE Consider 30 Indian companies that

 URGENT PLS SOLVE AS SOON AS POSSIBLE NOTE: PLEASE ANSWER IN

URGENT PLS SOLVE AS SOON AS POSSIBLE

NOTE: PLEASE ANSWER IN C LANGUAGE PLEASE USE COMMENTS WHENEVER REQUIRED IN CODE

Consider 30 Indian companies that are listed in stocks market and the stocks market is working five days a week. Consider a 2-dimensional a matrix where each row contains the price of stocks in five different days. The data of 30 stocks(company) is maintained in this matrix. Write a program to perform the following operations on this data: (1) Calculate the average price of each stock in five different days. Print the average price of each company stocks. (2) Count the number of stocks(company)whose price is the same in more than 3 days. Print the count. (3) Count the number of stocks(company) whose price is not the same in more than 3 days. Print the count

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!