School Management System The following program creates a data type student which includes the following members: 1.N...
Description
-SHWETA GUPTA
Introduction The following program creates a data type student which includes the following members: 1. Name 2. Roll no. 3. Marks in 5 subjects 4. Total 5. Average 6. Grade It arranges the students in ascending order of total marks obtained. It also finds the subject toppers and overall topper.
Certificate This is to certify that
Shweta Gupta
studying in class 11 C has successfully completed the computer science assignment for the year 2014-15.
Mrs. Aruna D. Ekanath (PGT [Comp. Sci])
Mrs. Nutan Punj (Principal)
Acknowledgement Firstly,I would like to thank our Principal Mrs. Nutan Punj for giving me the opportunity to make this project. I express my gratitude to my teacher Mrs. Aruna D. Ekanath (PGT [Comp. Sci.]) for helping, guiding and motivating me throughout the course of this project.
Index S.NO. TOPIC 1. 2. 3. 4. 5. 6. 7. 8. 9.
PAGE NO. ACKNOWLEDGEMENT 1 CERTIFICATES 2 INTRODUCTION 6 SYSTEM 7 REQUIREMENTS SALIENT 8 FEATURES CODE 9 15 OUTPUT 19 SCOPE OF IMPROVEMENT 20 BIBLIOGRAPHY
SALIENT FEATURES The program The program for errors. The program on many platforms. The program structural. The program friendly.
is compact. is edited can be run
is is user
SYSTEM REQUIREMENTS Main processor: Pentium III and above. Hard disk: 1GB. RAM: 1GB. Operating system: Windows XP and above. Compiler: Turbo C++/Dev C++/Code blocks etc. Language: C++.
SCOPE OF IMPROVEMENT The program can be made simpler. Comments can be used in the program. The statements in the program can be indented. Blank lines and blank spaces can be used in the program.
CODE #include #include int n; struct student { char name[20]; int rollno; int marks[5]; int total; int average; char grade; }; int calctotal(student s1) { int i,sum=0; for(i=0;i400) return 'A'; else if(s1.total>300) return 'B'; else if(s1.total>200) return 'C'; else if(s1.total>100)
return 'D'; else return 'E'; } int main() { clrscr(); student s[20],tmp; int i,j,k,q,z,index[5],max[5]={0,0,0,0,0}; cout
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.