Click here to load reader

Investigatory Project for Computer Science

  • View

  • Download

Embed Size (px)

Text of Investigatory Project for Computer Science


Made by Sonali Sinha ,12-A KENDRIYA VIDYALAYA PRAGATI vihar

This program is very useful in real life situation for providing instant information to a school or college about a student performance throughout the year by creating a report card. In this c++ program we can modify, add, delete, recall and list the records.Being OOP concept available, we can add or remove function anytime we need and even add classes and derived classes for further improvement of the program without recording.

This is to certify that SONALI SINHA of class XII has successfully completed this computer project on the topic STUDENT REPORT CARD under the guidance of Mrs. SHWETA ROHILLA, during academic session 2015-2016 as per the guidelines issues by Central Board of Secondary Education.

Teacher Signature

I am extremely grateful to Mrs. Shweta Rohilla, PGT Computer Science for his able guidance and useful suggestions, which helped me in completing the project work, in time.I would also like to thank all the teaching and non-teaching staff of Computer Science department who helped me directly or indirectly in the completion of this project.Finally, yet importantly, I would like to express my heartfelt thanks to my beloved parents for their blessings, my friends/classmates for their help and wishes for the successful completion of this project.SONALI SINHA12-A


1. Fstream .h 2. Iomanip.h3. Stdio.h4. Conio.h

Source Code #include#include#include#include

class student{int rollno;char name[50];int p_marks, c_marks, m_marks, e_marks, cs_marks;float per;char grade;void calculate(); //function to calculate gradepublic:void getdata();//function to accept data from uservoid showdata(); //function to show data on screenvoid show_tabular();int retrollno();}; //class ends here

void student::calculate(){per=(p_marks+c_marks+m_marks+e_marks+cs_marks)/5.0;if(per>=60)grade='A';else if(per>=50)grade='B';else if(per>=33)grade='C';elsegrade='F';}

void student::getdata(){coutrollno;cout