Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

its language C 3. Requirements implement the functions listed. write the course design report. your report need a cover page and main contents should include

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
its language C
3. Requirements implement the functions listed. write the course design report. your report need a cover page and main contents should include objectives, design requirements, design architecture, flowchart, function description, debugging problems, test analysis, etc. 4 report page size: A4, page number size: 10, line space: 18 pound and standard character spacing. 2. University sports meeting management system (2 persons) 1) requirements Competition results must be recorded and stored in a file System must provide file input and output function. University info and match info could be inquired, each university's competition results, university info, competition items info could also be inquired and listed. Your system should provide a menu using keyboard to select options. 2) system design The system includes these modules: information input, result entering and inquiry. 3) detailed design There could be three structures: school, item, athlete. Struct athlete { Char name[20]; //athlete name Intage; Char From[20); //which university come from Athlete Struct item Char name[20]; item name Int.score[3]: //The first three position scores Athlete player(3); // the first three prize athlete info Item; Struct university Char name[20]; // university name Item item(10): Il competition items, at most 10 Int score[10); Vuniversity scores of competition items Uni; Itern Totalltem Item Numl: Uni AllUni UniNum): (1) main function Functions input, process and output could be called in the main function, using menu options to select cach module. (2) info enter module Enter university number, competition number, save all university info, item info and athlete info into three files/use fwrite function), crcate 3 files. For example: the ith item Scanf("%s">Totalltemli).name); /enter item name Totalltemli.score[0)-5; Totalltemll score 1 13; Totalltem l score[2]-1; Totalltemil athlete[0]-Tom; Totalltemilathlete[1]-John Totalltemi) athlete[2]-Mark, Then write into item info file: fp-fopen("item.txt","wb"); fwrite(&Totalltem[i],sizeof(Item),1,fp); University info and athlete info enter operation are similar (3) inquiry module Inquire university info file, get the report of total score of team, use general search algorithm to inquire competition university info(via university name) or competition item info(via item name)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions