Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a code in C language. Avoid comments. You are required to develop a system in C language to keep track of all participating groups

write a code in C language. Avoid comments.
image text in transcribed
You are required to develop a system in C language to keep track of all participating groups in the "Coder's modules. The solution must be provided using only the mentioned functions. Global variables are not allowed. You must use appropriate data types, return types and function arguments. a) Module Name: Input(). The working of this module goes as follows: 1. The Inputo function is called whenever user wishes to add new participating group information (GrouplD, GroupName, 5 tasks results). Each task's value must be entered in the form of 0 's or 1 's. If any other value is entered. the program must prompt to re-enter. a. 0 means that the group become usuccessful at solving a particular task b. 1 means that the group become successful at solving a particular task Append the newly taken data into the file named as CompRecord.txt. iv- The CompRecord.txt file will have set of records where each record contains participating group's complete information. b) Module Name: DisplayWinner(). This module finds and prints all winning groups information. Any group is considered to be a winner who has majority of successful attempted all tasks. There can be multiple winners. c) Module Name: Search(). This module displays the statusi details of any given group. The user must be allowed to search until he/she enters 0. For example, if user enters 3 , the data against GroupID =3 must be displayed that shows GroupName, and its successful and failed tasks. HINT: - You are allowed to define parameters and return types of these functions as you find appropriate. - All above modules are dealing with the data stored in the file

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 And Expert Systems Applications 24th International Conference Dexa 2013 Prague Czech Republic August 2013 Proceedings Part 2 Lncs 8056

Authors: Hendrik Decker ,Lenka Lhotska ,Sebastian Link ,Josef Basl ,A Min Tjoa

2013th Edition

3642401724, 978-3642401725

More Books

Students also viewed these Databases questions

Question

1. Define mass and mediated communication

Answered: 1 week ago