بســم الله الـرحمــن الرحيــم
السلام عليكــم ورحمـة الله وبركاتــه
أخواني الاعضاء الكرام
أنا في ورطة
ومحتاج فزعة أي شخص يعرف في c++ , Sorting
وهذه مواصفات البرنامج
""The program have to produce a ranked (i.e. sorted) list of teams in a series of football tournaments. The program should read the tournament name, team names, and games played, and it should output the tournament standings.
A team wins a game if it scores more goals than its opponent, and loses if it scores fewer goals. Both teams tie if they score the same number of goals. A team earns 3 points for each win, 1 point for each tie, and 0 points for each loss.
Teams are ranked according to these rules (in this order):
1- Most points earned.
2- Most wins.
3- Most goal difference (i.e., goals scored – goals against).
4- Most goals scored.
5- Fewest games played.
6- Case-insensitive lexicographic order. "
{Output style:
(no. of order) Team name (total points earned), (no. of games played), ([wins no.], [ties no.], [losses no.]), (goal difference), ([goals scored]-[goals against])
}
"
ضروري جداً دخليلكم
طالبنكم طلبه
