C program 1-D array

Write a function to count how many students get marks higher than the average and how many students get marks lower than average mark out of n number of students.

Showing Answers 1 - 1 of 1 Answers

elayaraja.v

  • Dec 16th, 2014
 

Write a function to count how many students get marks higher than the average and how many students get marks lower than average mark out of n number of students.?

Code
  1. #define AVG 60

  2. "please enter studentd   %d   Marks  :

  3. ",i);

  4. scanf("%d""  less than average    %d

  5. grater than average  %d

  6. ""Please enter how many students appered for exam:  

  7. ");

  8. scanf("%d",n);

  9. count(n);

  10. }

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions