0
796views
There are five players from which the Most Valuable Player (MVP) is to be chosen. Each player is to be judged by 3 judges, who would assign a rank to each player. The player whose sum of ranks is h

There are five players from which the Most Valuable Player (MVP) is to be chosen. Each player is to be judged by 3 judges, who would assign a rank to each player. The player whose sum of ranks is highest is chosen as MVP. Write a program to implement this scheme.

1 Answer
0
55views

Solution :-

 #include<stdio.h>
 #include<conio.h>
 #include<windows.h>
 struct marks
 {
 int j[3];
 int tot;
 };
 int main()
 {
 struct marks player[5];
 int i, j, max = 0;
 for (i = 0; i < 5; i++)
 {
 system("cls");
 printf("\n\t\tMarks for player-%d", i + 1);
 for (j = 0; j < 3; j++)
 { …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.