Friday, 22 December 2017

C++ Program For Setting Time schedule of teachers


#include<iostream>

using namespace std;



//void AnikaKanwal();

int main()

{

     //char AnikaKanwal=0;

    //char SanaFaisal=0;

    //char AsmaNaveed=0;

    //char RababShafiq=0;

    //char AtifJahangir=0;

    //char AmnaAslam=0;

    //char SaraZafar=0;

    //char NabeelaJabeen=0;

    //char FarzanaKhan=0;

     char name;

    

    

    

    

     cout<<"\n\n                           Assalam o Alaikum "<<endl;

     cout<<"                                Welcome to PGCW "<<endl;

     cout<<"                         Time Table for teachers of PGCW "<<endl;

    

    



     cout<<"\n\n Enter name of teacher "<<endl;

     cin>>name;

     //if(name == AnikaKanwal)

     //{

           //void AnikaKanwal();

     //}

     //else

     //{

           //if(name == SanaFaisal)

           //{

              //void SanaFaisal();

           //}

         //else

     //{

               //if(name == AsmaNaveed)

               //{

                  //void AsmaNaveed();

               //}

            //else

               //{

                   //if(name == RubabShafiq)

                   //{

                      //void RubabShafiq();

                   //}

                   //else

                   //{

                      //if(name == AtifJahangir)

                      //{

                          //void AtifJahngir();

                      //}

                      //else

                      //{

                         //if(name == AmnaAslam)

                         //{

                              //void AmnaAslam();

                         //}

                         //else

                         //{

                           //if(name == SaraZafar)

                           //{

                               //void SaraZafar();

                           //}

                           //else

                           //{

                               //if(name == NabeeaJabeen)

                               //{

                                   //void NabeelaJabeen();

                               //}

                               //else

                               //{

                                   //if(name == FarzanaKhan)

                                   //{

                                       //void FarzanaKhan();

                                   //}

                               //}

                                //}

                           //}

                     //}

               //}

           //}

     //} 

//}



//void AnikaKanwal()

     //{

      cout<<"\n \n              Anika Kanwal teaches English              "<<endl;

      cout<<"                  Her timetable is as folows               "<<endl;

      

      cout<<"\n                           Sunday                        "<<endl;

      cout<<"                  No class for today. Enjoy!!!             "<<endl;



      cout<<"\n                           Monday                        "<<endl;

      cout<<"            First class with pre-engineering group         "<<endl;

      cout<<"                           Room No. 1                      "<<endl;

      

      cout<<"                   Second class with ICS Group             "<<endl;

      cout<<"                           Room No.19                      "<<endl;

    





      cout<<" \n                          Tuesday                       "<<endl;

      cout<<"                First class with pre-medical Group         "<<endl;

      cout<<"                             Room No. 1                    "<<endl;

    

      cout<<"                 Second class with I.COM Group             "<<endl;

      cout<<"                           Room No.23                      "<<endl;

      

      



      cout<<"\n                           Wednesday                     "<<endl;

      cout<<"                    Third class with ICS group             "<<endl;

      cout<<"                           Room No. 19                     "<<endl;

      

      

      cout<<"\n                           Thursday                      "<<endl;

      cout<<"                    First class in I.COM Group             "<<endl;

      

      

      cout<<"\n                           Friday                        "<<endl;

      cout<<"                No class for today. Rest at home!!!!       "<<endl;

      

      cout<<"\n                           Saturday                      "<<endl;

      cout<<"             No class for today .Relax at home!!!!      "<<endl;

      

      //}

      //void SanaFaisal()

      //{

         cout<<" \n\n                   Sana Faisal teaches urdu             "<<endl;

         cout<<"                   Her timetable is as follows           "<<endl;

        

         cout<<"\n                           Sunday                      "<<endl;

         cout<<"                    No class for today.Enjoy!!           "<<endl;

        

         cout<<"\n                           Monday                      "<<endl;

         cout<<"            Second class with pre-engineering Group      "<<endl;

         cout<<"                           Room No. 1                    "<<endl;

      

         cout<<"            Fourth class with pre-medical Group          "<<endl;

         cout<<"                           Roon No.12                    "<<endl;

       

        

         cout<<"\n                           Tuesday                     "<<endl;

         cout<<"                First class with pre-medical Group       "<<endl;

         cout<<"                          Room No. 12                    "<<endl;

        

         cout<<"                Third class with I.COM Group             "<<endl;

         cout<<"                          Room No. 23                    "<<endl;

       

        

         cout<<"                             Wednesday                   "<<endl;

         cout<<"                   Fourth class with ICS Group           "<<endl;

         cout<<"                            Room No.19                   "<<endl;

        

        

         cout<<"\n                           Thursday                    "<<endl;

         cout<<"                    Second class with ICS Group          "<<endl;

         cout<<"                           Room No. 19                   "<<endl;

        

        

         cout<<"\n                           Friday                      "<<endl;

         cout<<"                 No class for for today. Enjoy!!         "<<endl;

        

         cout<<"\n                           Saturday                    "<<endl;

         cout<<"                No class for today.Relax at home!!       "<<endl;

        

     //} 

     //void AsmaNaveed()

     //{

        cout<<"\n\n                       Asma Naveed teaches Islamiat      "<<endl;

        cout<<"                       Her timetable is as follows       "<<endl;

       

        cout<<"\n                                Sunday                 "<<endl;

        cout<<"                         No class for today.Enjoy!!!     "<<endl;

       

        cout<<"\n                                Monday                 "<<endl;

        cout<<"                        First class with I.COM Group     "<<endl;

        cout<<"                               Room No. 23               "<<endl;

       

       

        cout<<"\n                                Tuesday                 "<<endl;

        cout<<"                            No class for today            "<<endl;

       

        cout<<"\n                                Wednesday               "<<endl;

        cout<<"                         Second class with ICS Group      "<<endl;

        cout<<"                                 Room No.19               "<<endl;

      

       

        cout<<"\n                                Thursday                "<<endl;

        cout<<"                             No class for today           "<<endl;

       

        cout<<"\n                                Friday                         "<<endl;

        cout<<"                       Frist class with pre-engineering Group    "<<endl;

        cout<<"                                   Room No.1                     "<<endl;

      

       

        cout<<"\n                                Saturday                       "<<endl;

        cout<<"                      Third class with pre-medical Group         "<<endl;

        cout<<"                                 Room No.12                      "<<endl;

       

        //}      

        //void RababShafiq()

        //{

           cout<<"\n\n                    Rabab Shafiq teaches Pakistan Studies            "<<endl;

           cout<<"                     Her timetable of classes is as follows          "<<endl;

          

           cout<<"\n                                Sunday                             "<<endl;

           cout<<"                     No class for today . Relax at home!!!!!         "<<endl;

          

           cout<<"\n                                 Monday                            "<<endl;

           cout<<"                     Third class with pre-medical Group              "<<endl;

           cout<<"                                  Room No. 12                        "<<endl;

         

          

           cout<<"\n                                 Tuesday                           "<<endl;

           cout<<"                      No class for today.Relax at home !!!!          "<<endl;

          

           cout<<"\n                                 Wednesday                         "<<endl;

           cout<<"                        Fourth class with I.COM Group                "<<endl;

           cout<<"                                  Room NO. 23                        "<<endl;

         

          

           cout<<"\n                                 Thursday                 "<<endl;

           cout<<"                            No class for today.Enjoy!!!!!   "<<endl;

                      

           cout<<"\n                                  Friday                  "<<endl;

           cout<<"                           Third class with ICS Group       "<<endl;

           cout<<"                                   Room No. 19              "<<endl;

          

          

           cout<<" \n                                   Saturday                "<<endl;

           cout<<"                     Second class with pre-engineering Group"<<endl;

           cout<<"                                    Room No.1               "<<endl;

          

           //}

          //void AtifJahangir()

            //{

               cout<<"  \n\n                Atif Jahangir teaches Mathematics        "<<endl;

               cout<<"                  His timetable of classes is as follows  "<<endl;

              

               cout<<"\n                              Sunday                     "<<endl;

               cout<<"                     No class for today. Enjoy!!!!!        "<<endl;

              

               cout<<"\n                             Monday                     "<<endl;

                cout<<"                 Third class with pre-engineering Group   "<<endl;

                cout<<"                             Room No. 1                   "<<endl;

          

               

                cout<<"\n                              Tuesday                   "<<endl;

                cout<<"                 Second class in pre-engineering group    "<<endl;

                cout<<"                              Room No. 1                  "<<endl;

          

                cout<<"                     Third class with ICS Group           "<<endl;            

                cout<<"                              Room No.19                  "<<endl;

            

              

               cout<<"\n                              Wednesday                 "<<endl;

               cout<<"                    Fifth class with pre-engineering Group"<<endl;

               cout<<"                                Room No. 1                "<<endl;

            

              

               cout<<"\n                               Thursday                 "<<endl;

               cout<<"                    Fourth class with pre-engineering group"<<endl;

               cout<<"                                Room No.1                  "<<endl;

             

               cout<<"                     Third class with I.COM Group          "<<endl;

               cout<<"                                 Room No. 23               "<<endl;

              

              

               cout<<"\n                                Friday                   "<<endl;

               cout<<"                      First class with pre-engineering Group"<<endl;

               cout<<"                                Room No. 1                  "<<endl;

             

              

               cout<<"                                  Saturday                  "<<endl;

               cout<<"                    First class with pre-engineering Group  "<<endl;

               cout<<"                                Room No. 1                  "<<endl;

             

             //}

           //void AmnaAslam()

           //{

              cout<<"\n\n                            Amna Aslam teaches Biology        "<<endl;

              cout<<"                       Her timetable of casses is as follows  "<<endl;

             

              cout<<"                                 Sunday                       "<<endl;

              cout<<"                       No class for today. Rest at home!!!!   "<<endl;

             

              cout<<"\n                               Monday                    "<<endl;

              cout<<"                 Third class with pre-medical Group        "<<endl;

                cout<<"                             Room No. 1                   "<<endl;

               

               

                cout<<"\n                              Tuesday                   "<<endl;

                cout<<"                 Second class in pre-medical group        "<<endl;

                cout<<"                              Room No. 1                  "<<endl;

               

                        

               cout<<"\n                              Wednesday                 "<<endl;

               cout<<"                    Fifth class with pre-medical Group    "<<endl;

               cout<<"                                Room No. 1                "<<endl;

              

              

               cout<<"\n                               Thursday                 "<<endl;

               cout<<"                    Fourth class with pre-medical group    "<<endl;

               cout<<"                                Room No.1                  "<<endl;

             

                  

               cout<<"\n                                Friday                    "<<endl;

               cout<<"                      First class with pre-medical Group    "<<endl;

               cout<<"                                Room No. 1                  "<<endl;

            

              

               cout<<"\n                              Saturday                    "<<endl;

               cout<<"                    First class with pre-medical Group      "<<endl;

               cout<<"                                Room No. 1                  "<<endl;

             

             //}

             //void SaraZafar()

             //{

                cout<<" \n\n                     Sara Zafar teaches Accounting        "<<endl;

                cout<<"                       Her timetable of class is as follows"<<endl;

               

                cout<<"\n                             Sunday                       "<<endl;

                cout<<"                         No class for today                 "<<endl;

                 

                 cout<<"\n                             Monday                       "<<endl;

                 cout<<"                 Frist class with I.COM Group                 "<<endl;

                 cout<<"                            Room No. 23                     "<<endl;

               

                 cout<<"\n                              Tuesday                     "<<endl;

                 cout<<"                 Second class with I.COM Group              "<<endl;

                 cout<<"                           Room No.23                       "<<endl;

                 

                 

                 

                 cout<<"\n                                Wednesday                 "<<endl;

                 cout<<"                    Fourth class with I.COM Group           "<<endl;

                 cout<<"                              Room No. 23                   "<<endl;

                 

                 

                 cout<<"\n                                Thursday                  "<<endl;

                 cout<<"                            Third class with I.COM Group    "<<endl;

                 cout<<"                                    Room No.23              "<<endl;

                 

                 

                 cout<<"\n                                 Friday                   "<<endl;

                 cout<<"                        First class with I.COM Group        "<<endl;

                 cout<<"                                 Room No. 23                "<<endl;

                 

                 

                 cout<<"\n                                 Saturday                 "<<endl;

                 cout<<"                        First class with I.COM Group        "<<endl;

                 cout<<"                                 Room No. 23                "<<endl;

               

                 //}

                 // void NabeelaJabeen()

                 //{

                     cout<<" \n\n                          Nabila teaches Physics           "<<endl;

                      cout<<"                         Her timetable is as follow         "<<endl;

                      

                     cout<<"\n                                Sunday                   "<<endl;

                 cout<<"                             No class for today            "<<endl;



                cout<<"\n                                Monday                   "<<endl;

                  cout<<"                      First class with pre-engineering     "<<endl;

                 cout<<"                                Room No 3                  "<<endl;

                 cout<<"                         Timing 08:00 to 09:00             "<<endl;

                 cout<<"                     Second class with pre-medical Class   "<<endl;

                cout<<"                                Room no 4                  "<<endl;

                 

                 cout<<"                          Fourth class with ICS            "<<endl;

                 cout<<"                                Room No 3                  "<<endl;

                



    

                cout<<"\n                                 Tuesday                "<<endl;

                  cout<<"                       First class with pre-engineering   "<<endl;

                cout<<"                                 Room No.2                "<<endl;

                

                  cout<<"                           Second class with ICS          "<<endl;

                  cout<<"                                 Room No.3                "<<endl;

                 

                  cout<<"                     Third class with pre-medical Class   "<<endl;

                  cout<<"                                 Room no. 5               "<<endl;

                 



               cout<<"\n                                 Wednesday               "<<endl;

                cout<<"                             First class with ICS          "<<endl;

                cout<<"                                  Room No. 1               "<<endl;

               

                cout<<"                    Second class with pre-engineering Class"<<endl;

                 cout<<"                                  Room no. 6               "<<endl;

               

                cout<<"                        Fourth class with Pre -medical     "<<endl;

                 cout<<"                                  Room No. 3               "<<endl;

                    



                 cout<<"\n                                 Thursday                "<<endl;

                cout<<"                         First class with pre-medical      "<<endl;

                cout<<"                                  Room No. 9               "<<endl;

           

                cout<<"                          Second class with ICS Class      "<<endl;

                cout<<"                                  Room no. 2               "<<endl;

            

                cout<<"                       Third class with pre-engineering    "<<endl;

                cout<<"                                  Room No. 3               "<<endl;

            



               cout<<"\n                                 Friday                  "<<endl;

                cout<<"                        Seconds class with pre-medical     "<<endl;

                 cout<<"                                  Room No. 1               "<<endl;

                

                 cout<<"                      Third class with pre-medical Class   "<<endl;

                cout<<"                                  Room no. 6               "<<endl;

             

                cout<<"                       Fourth class with Pre-engineering   "<<endl;

               cout<<"                                  Room No. 3               "<<endl;

           

               

                cout<<"\n                                 Saturday                "<<endl;

                cout<<"                     No calss for today.Rest at home!!!!!  "<<endl;

                //}

                //void farzanaKhan()

                //{

                    cout<<"  \n\n                   Farzana Khan teaches Chemistry      "<<endl;

                    cout<<"                  Her timetable of classes is as follows "<<endl;

               

                    cout<<"                               Sunday                    "<<endl;

                     cout<<"                           No class for today            "<<endl;



                     cout<<"                               Monday                    "<<endl;

                     cout<<"                     First class with pre-medical        "<<endl;

                     cout<<"                             Room No. 3                  "<<endl;

                 

                     cout<<"                Second class with pre-engineering Class  "<<endl;

                     cout<<"                             Room no. 4                  "<<endl;

                

    

                     cout<<"                               Tuesday                   "<<endl;

                     cout<<"                    First class with pre-medical         "<<endl;

                     cout<<"                             Room No. 2                  "<<endl;

                

                     cout<<"               Third class with pre-engineering Class    "<<endl;

                     cout<<"                             Room no. 5                  "<<endl;

                    

    



                     cout<<"                                Wednesday                "<<endl;

                     cout<<"                     Second class with pre-medical       "<<endl;

                     cout<<"                               Room No. 1                "<<endl;

                    

                     cout<<"                Fourth class with pre-engineering Class  "<<endl;

                     cout<<"                               Room no. 6                "<<endl;

                    

    



                     cout<<"                                Thursday                 "<<endl;

                     cout<<"                    First class with pre-engeering       "<<endl;

                     cout<<"                               Room No. 9                "<<endl;

                    

                     cout<<"                  Third class with pre-medical Class     "<<endl;

                     cout<<"                               Room no. 2                "<<endl;

                    

    

                     cout<<"                                Friday                   "<<endl;

                     cout<<"                  Seconds class with pre-engeenring      "<<endl;

                     cout<<"                             Room No. 1                  "<<endl;

                

                     cout<<"                 Fourth class with pre-medical Class     "<<endl;

                     cout<<"                             Room no. 6                  "<<endl;

                    

                    

                     cout<<"                                 Saturday                "<<endl;

                     cout<<"                   Second class with pre-engineering     "<<endl;

                     cout<<"                              Roon No.1                  "<<endl;

                 

                     //}

               //}

            //}     

       //}         

//}

system("pause");

return 0;


}

0 comments:

Post a Comment

Tech UOG