Você está na página 1de 2

Question 1 : In BIIT every semester student applies for admission.

On application form student enters


his or her credential like.

Name
Father name
Address
Discipline
Gender

Applicant can apply for BSCS and MCS only if he/she applies for BSCS ask following information.

Metric total Marks


Metric obtained Marks
Inter total Marks
Inter obtained Marks

If applicant applies for MCS ask two additional input

Bachelors Marks
Bachelors Total Marks

For MCS BIIT can issue 500 admission forms and for Bachelors 1000 forms can be issued. Application
form number should be auto generated for every applicant, you have to calculate percentage for each
discipline and merit percentage that is average percentage of the applicant academic percentages.

You have to write a struct name admissionsystem decide data members according to above
requirements. Following functions should be part of your program.

? input(?) takes the input ( app name,gender, father name, address, metric obtained marks,
metric total marks , inter total marks, inter obtained marks, , if discipline is MCS than Bachelors
total marks , Bachelors obtained marks )
? Display(?) this functions displays (app number, app name, father name, address, metric
obtained marks, metric total marks , inter total marks, inter obtained marks, metric percentage,
inter percentage , if discipline is MCS than Bachelors total marks , Bachelors obtained marks ,
Bachelors Percentage and Merit Percentage )
? Merit (?) Will display top 100 students for MCS and top 200 students for BSCS.
? TOP(?) Will find top merit student from both discipline.
? Rejected(?) will display all the female students who are not up to merit from both disciplines
and 10 male who belongs to Islamabad from both list who failed to come to merit.
? Search(?) will search the position of particular applicant in merit by giving app number this
function only displays the Position of a applicant and also tells how many applicants are ahead
of him.
? CalculatePercentages(?) (Private function) this function will just calculate percentage for a
particular record.
In main Create the menu for above functions and you have to determine return type and
parameters of functions.

Also Write down full program.

Você também pode gostar