Answer to Question #261510 in C++ for saliha

Question #261510

FAST-NUCES has expanded its operations to a great extent and it needs an automated

helpline system for its One Stop Student Center. In order to develop the system, FAST-NUCES has hired

the best programmers from its Islamabad campus. You are required to develop the following scenario for

the helpline system using switch-case construct in C++.

FAST-NUCES has five campuses at Islamabad, Lahore, Karachi, Peshawar, and Faisalabad in Pakistan.



1
Expert's answer
2021-11-06T11:47:47-0400
# include <iostream>
using namespace std;
int main()
{




    int a;
    cout<<"\t\tFAST-NUCES helpline system"<<endl;
    cout<<"*****************************"<<endl;
    cout<<"\t\t1. Islamabad Campus"<<endl;
    cout<<"\t\t2. Lahore Campus"<<endl;
    cout<<"\t\t3. Karachi Campus"<<endl;
    cout<<"\t\t4. Peshawar Campus"<<endl;
    cout<<"\t\t5. Faisalabad Campus"<<endl;
    cout<<"Enter any number (1-5): "<<endl;
    cin>>a;
    switch(a)
    {
    case 1:
        cout<<"\t\t\tWelcome To One Stop Student Center Islamabad campus"<<endl;
        cout<<"\t\tOne Stop Student Center Service"<<endl;
        cout<<"\tIslamabad Campus is a Branch of FAST-NUCES that deals with Programming"<<endl;
        cout<<"\tIn Person: Mon,Tue,Wed and Fri 9-5pm"<<endl;
        cout<<"\tEmail: fast.nuces@islamabad@gmail.com"<<endl;
        cout<<"\tPone: 354389432734"<<endl;
        break;
         case 2:
             cout<<"\t\t\tWelcome To One Stop Student Center Lahore campus"<<endl;
             cout<<"\t\tOne Stop Student Center Service"<<endl;
        cout<<"\tLahore Campus is a Branch of FAST-NUCES that deals with Medicine"<<endl;
        cout<<"\tIn Person: Mon,Tue,Wed and Fri 9-5pm"<<endl;
        cout<<"\tEmail: fast.nuces@lahore@gmail.com"<<endl;
        cout<<"\tPone: 35856-4537834"<<endl;
        break;
         case 3:
             cout<<"\t\t\tWelcome To One Stop Student Center Karachi campus"<<endl;
            cout<<"\t\tOne Stop Student Center Service"<<endl;
        cout<<"\tKarachi Campus is a Branch of FAST-NUCES that deals with Law"<<endl;
        cout<<"\tIn Person: Mon,Tue,Wed and Fri 9-5pm"<<endl;
        cout<<"\tEmail: fast.nuces@karachi@gmail.com"<<endl;
        cout<<"\tPone: 357609343434347"<<endl;
        break;
         case 4:
             cout<<"\t\t\tWelcome To One Stop Student Center Peshawar campus"<<endl;
             cout<<"\t\tOne Stop Student Center Service"<<endl;
        cout<<"\tPeshawar Campus is a Branch of FAST-NUCES that deals with Actuarial Science"<<endl;
        cout<<"\tIn Person: Mon,Tue,Wed and Fri 9-5pm"<<endl;
        cout<<"\tEmail: fast.nuces@peshawar@gmail.com"<<endl;
        cout<<"\tPone: 354389432734"<<endl;
        break;
         case 5:
             cout<<"\t\t\tWelcome To One Stop Student Center Faisalabad campus"<<endl;
             cout<<"\t\tOne Stop Student Center Service"<<endl;
        cout<<"\tFaislabad Campus is a Branch of FAST-NUCES that deals with Engineering"<<endl;
        cout<<"\tIn Person: Mon,Tue,Wed and Fri 9-5pm"<<endl;
        cout<<"\tEmail: fast.nuces@faislabad@gmail.com"<<endl;
        cout<<"\tPone: 35234523434"<<endl;
        break;
        default:
        cout<<"The number does not exist"<<endl;
    }


   return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS