Saturday, June 30, 2018

Mark sheet in C++ Programming With Source Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /*Project By : Bikash kumar Sijapati
  E-mail:bsijapati6@gmail.com, xijapatibikash25@gmail.com
  phone : +9779868097138, +9779822478230
 Project type : mini
*/
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
#include<string.h>
#include<dos.h>
void main()
  {
float nm,mgmt,oop,os,ca,tot,per,NM,MGMT,OOP,OS,CA;
int dd,mm,yy,YY,clas;
long int symbol,reg;
char name[40],div[10],d[13],res[20],temp[20],sch[50],un[50];
 /*   dd=day, mm=month,yy=year,d=district , py=passed year , sch=school , un=University */
 clrscr();
  cout<<"Enter Name of School/University:";
 cin>>un;
cout<<"Enter Name of school:";
 cin>>sch;
cout<<"enter name of Student            :";
   cin>>name;
cout<<"Enter date of birth (day/mon/year)\n:";
   cin>>dd;
   cin>>mm;
   cin>>yy;
cout<<"Enter Class   :";
   cin>>clas;
cout<<"Enter symbol no :";
cin>>symbol;
cout<<"Enter regrestation No:";
 cin>>reg;
cout<<"Enter District:";
  cin>>d;
cout<<"Passed Year:";
cin>>YY;

cout<<"enter marked obtain on numerical method on Theory(max:60)            :";
cin>>nm;
cout<<"enter marked obtain on numerical method  on Practical(max:40)        :";
cin>>NM;
cout<<"enter marked obtain on Principle of managemaent on Theory(max:60)    :";
cin>>mgmt;
cout<<"enter marked obtain on Principle of managemaent on Practical(max:40) :";
cin>>MGMT;
cout<<"enter marked obtain  on object OOP (C++) on Theory(max:60)           :";
cin>>oop;
cout<<"enter marked obtain  on object OOP (C++) on Practical(max:40)        :";
cin>>OOP;
cout<<"enter marked obtain on operating system  on Theory(max:60)           :";
cin>>os;
cout<<"enter marked obtain on operating system  on Practical(max:40)        :";
cin>>OS;
cout<<"enter marked obtain on computer Architecture on Theory(max:80)       :";
cin>>ca;
cout<<"enter marked obtain on computer Architecture on Practical(max:20)    :";
cin>>CA;
 if(nm>=24 && mgmt>=24 && oop>=24 && os>=24 && ca>=32 && NM>=16 && MGMT>=16 && OOP>=16 && OS>=16 && ca>=8)
 strcpy(res,"pass");
 else
 strcpy(res,"fail");

tot=(nm+mgmt+oop+os+ca+NM+MGMT+OOP+OS+CA);
per=((tot/500)*100);
  if(per>=80)
  strcpy(div,"Honour");
 else if(per>=60)
       strcpy(div,"First");
 else if(per>=48)
       strcpy(div,"second");
 else if(per>=35)
       strcpy(div,"pass");
  else
       strcpy(div,"Fail");
       clrscr();


// Display part
  cout<<"  Project By : Bikash kumar Sijapati(Bsc.CSIT 2nd year/3rd semester)\n";
cout<<"Address(per.): Singaudi 8,Dailekh\n";
cout<<" Address(tem.): Bhirkutinagar,Nepalgunj\n";
cout<<"      Contact :programmingidea11@gmail.com,bsijapati6@gmail.com\n";
cout<<"              :facebook.com/Bikash sijapati";
delay(5000);
 cout<<"\n\n";
 cout<<"\t\t  Banke Bageshwori College\t\t\n";
 cout<<"\t\t   surkhet road nepalgunj\t\t\n";
 cout<<"\t\t\t   EST. 2070\t\t\t";
 cout<<"\n";
 cout<<"MARKS SECURED BY\t"<<name;
 cout<<"\t";
 cout<<"DATE OF BIRTH";
 cout<<"\t"<<dd;
 cout<<"/"<<mm;
 cout<<"/"<<yy;
 cout<<"\t";
 cout<<"District\t"<<d;
 cout<<"\t";
 cout<<"SYMBOL NO\t"<<symbol;
 cout<<"\t";
 cout<<"REGISTRATION NO "<<reg;
 cout<<"\tGRADE \t"<<clas;
 cout<<"\tSCHOOL\t"<<sch;
cout<<"...";
 cout<<"\tIN THE \t"<<un;
 cout<<"\tEXAMINATION OF";
 cout<<"\t"<<YY;
 cout<<"\tARE GIVEN BELOW\n";
 cout<<"------------------------------------------------------------------------\n";
 cout<<"|subjects                    | full mark|    | pass mark| obt.Marks    |\n";
 cout<<"|                            |--------- |    |----------|----------|---|\n";
 cout<<"|                            | TH | PR  |    |TH  | PR  |     | TH | PR|\n";
 cout<<"|------------------------------------------------------------------------\n";
 cout<<"| Nnumerical method          | 80 | 20  |    | 32 |  8  |     | "<<nm;cout<<" ";cout<<"|";cout<<" ";cout<<NM;cout<<" |  \n";
 cout<<"| principle of management    | 60 | 40  |    | 24 | 16  |     | "<<mgmt;cout<<" ";cout<<"|";cout<<" ";cout<<MGMT;cout<<" |  \n";
 cout<<"| objectOrientesd programming| 60 | 40  |    | 24 | 16  |     | "<<oop;cout<<" ";cout<<"|";cout<<" ";cout<<OOP;cout<<" |  \n";
 cout<<"| operating system           | 60 | 40  |    | 24 | 16  |     | "<<nm;cout<<" ";cout<<"|";cout<<" ";cout<<OS;cout<<" |  \n";
 cout<<"| computer architecture      | 60 | 40  |    | 24 | 16  |     | "<<nm;cout<<" ";cout<<"|";cout<<" ";cout<<CA;cout<<" |  \n";
 cout<<"------------------------------------------------------------------------\n";
 cout<<"                                             Total           :"<<tot;cout<<"\n";
 cout<<"                                             percentage      :"<<per;cout<<"\n";
cout<<"                                              Division        :"<<div;cout<<"\n";
cout<<"                                              Result          :"<<res;cout<<"\n";
 cout<<"%*%*%*%*%*%*%*%*%*%*%*%*%*% THANK YOU %*%*%*%*%*%*%*%*%*%*%*%*%*%*%\n\n";
  cout<<"contact me: fb.com/bikash sijapati , programmingidea11@gmail.com,9868097138";
getch();
   }

4 comments: