//Write a program to find a frind's father's name by taking the name of your friends:

 /******************************************************************************


Welcome to GDB Online.

GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, 

C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS

Code, Compile, Run and Debug online from anywhere in world.


*******************************************************************************/

#include <iostream>

using namespace std;


int main()

{    

    //Write a program to find a frind's father's name by taking the name of your friends:

    string name;

     cout<<"Enter your name :";

     getline(cin,name);

    

     if (name == "Minhaj"){

         cout<<"You father's name is Aurangzeb Ansari";

     } else if(name=="sajid"){

         cout<<"You father's name is Tabarkh Uncle";

     }else if(name=="khalid"){

         cout<<"You father's name is Zammel Raza";

         }else if(name=="chotan"){

             cout<<"You father's name is Jamludden Ansari";

         }else {

             cout<<"I don't know about your father!";

         }


    return 0;

}


Comments

Popular posts from this blog

swapping the alternate values in given array's element ! 17/11/2022

Learning stage | c++ programs

c++ basic question