Write a complete C program that will read the exam marks for 20 students. The program should also read the names for every student. The program will then count and display the number of students passing and failing the exam. A student needs to score at least 50 marks in order to pass an exam. The program should also print the names for those scoring 50 and above.
Sample input /output as below:
Input
Name : Ahmad
Exam Marks: 56
Name : Helen
Exam Marks: 90
Name : Maria
Exam Marks: 45
…….
There are 10 students passing the exam and their names are:
Ahmad
Helen
………