Posts

Showing posts from September, 2020

Calculating Waited GPA

  #include <iostream.h> #include <fstream.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <conio.h> #include <iomanip.h> static double upoint=0,ucredit=0; /******************************************************************************/ class student{         char *name;         char *roll;         char grade[8][10][3];         float SGPA[8];         float CGPA;     public:         student();         void print(const int std,student *S);         void get_grade(ifstream &I,const int sem);         void get_stinfo(ifstream &in);         void cal_sgpa(const int sem);         v...

Hospital Management System

  #include<fstream.h> #include<conio.h> #include<string.h> #include<dos.h> class drags{           protected:           char drag[20];           char id[7];           void get(){              cout<<"\nINPUT THE NAME OF MEDICINE\n";              cin>>drag;              cout<<"\nINPUT IDENTIFICATION NUMBER\n";              cin>>id;              }        } ; class cost:public drags{               protected:            ...

Seat Planning Of Vehicle

      /*This is the program of SEAT PLANING*/ #include<iostream.h> #include<conio.h> #include<stdio.h> #include<fstream.h> class plan {    private:      char name[10];      int seat;      int am;      char des[30];    public:      void get(void);      void display(void);      void s(void);      void cancle(void); }; void plan::get() {    cout<<"\nPlease,Enter your name:                   \n";    cin>>name;    cout<<"\nWhat's your seat choice?\nSeat Choice:    \n";    cin>>seat;    cout<<"\nAmount:               ...