Webhosting in Pakistan
Results 1 to 7 of 7

Thread: C++ main book kesy bnye jye .... full program...

  1. #1
    appteach is offline Junior Member
    Last Online
    18th February 2016 @ 05:33 PM
    Join Date
    01 Feb 2016
    Age
    23
    Gender
    Male
    Posts
    13
    Threads
    4
    Credits
    0
    Thanked
    2

    Thumbs up C++ main book kesy bnye jye .... full program...

    Webhosting in Pakistan

    program jiss ki madat say ap book bna skty
    hain
    ___________________________
    #include <iostream>
    #include <conio.h>
    using namespace std;
    int main()
    {
    int chap_num;
    char topic_char,ch,s_name[100];
    cout<<"LAB MANUAL OF ITCP\n";
    cout<<"Student Name :";
    cin.get(s_name, 100);
    H:
    cout<<"Home\n";
    cout<<"1. Intro"<<endl;
    cout<<"2. looping"<<endl;
    cout<<"3. conditional"<<endl;
    cout<<"4. Exit"<<endl;
    cout<<"___________________________________________ __________________________________________________ __________________________"<<endl;
    cout<<"Entrer chapter number = ";
    cin>>chap_num;
    switch(chap_num)
    {
    T:
    case 1:
    cout<<"1. Intro\n";
    cout<<"A. what is C++"<<endl;
    cout<<"B. history of C++"<<endl;
    cout<<"C. Flow chart"<<endl;
    cout<<"___________________________________________ __________________________________________________ ____________________"<<endl;
    cout<<"___________________________________________ __________________________________________________ ____________________"<<endl;
    cout<<"Enter your topic charchter :";
    cin>>topic_char;
    switch(topic_char)
    {
    case 'A':
    case 'a':
    cout<<"What is c++";
    cout<<"___________"<<endl;
    cout<<"___________"<<endl;
    break;
    case 'B':
    case'b':
    cout<<"History of C++";
    cout<<"______________"<<endl;
    cout<<"______________"<<endl;
    cout<<"______________"<<endl;
    break;
    case 'C':
    case 'c':
    cout<<"Flow chart";
    cout<<"___________"<<endl;
    cout<<"___________"<<endl;
    break;



    }
    cout<<"Will you change the topic ? ";
    cout<<"Press T for change topic "<<endl;
    cin>>ch;
    if(ch=='T'||ch=='t')
    goto T;
    break;
    case 2:
    V:
    cout<<"2. Looping\n";
    cout<<"A. While loop"<<endl;
    cout<<"B. do_while loop"<<endl;
    cout<<"C. for loop"<<endl;
    cout<<"Enter your topic charachter for futer :";
    cin>>topic_char;
    switch(topic_char)
    {
    case 'A':
    case 'a':
    cout<<"While loop\n";
    cout<<"__________"<<endl;
    cout<<"__________"<<endl;
    break;
    case 'B':
    case 'b':
    cout<<"Do_While loop\n";
    cout<<"____________"<<endl;
    cout<<"____________"<<endl;
    cout<<"____________"<<endl;
    break;
    case 'C':
    case 'c':
    cout<<"For Loop\n";
    cout<<"_________"<<endl;
    cout<<"_________"<<endl;
    cout<<"_________"<<endl;
    cout<<"_________"<<endl;
    break;


    break;

    }
    cout<<"Press 'V' for again chossing the topic";
    cin>>ch;
    if(ch=='V'||ch=='v')
    goto V;
    break;
    case 3:
    x:
    cout<<"3. Conditional\n";
    cout<<"A. if satretment"<<endl;
    cout<<"B. if else statement"<<endl;
    cout<<"C. if else if statement"<<endl;
    cout<<"D. nested if statement"<<endl;
    cout<<"Enter your topic charachter :";
    cin>>topic_char;
    switch(topic_char)
    {
    case 'A':
    case 'a':
    cout<<"A. if statement\n";
    cout<<"________________\n";
    cout<<"________________\n";
    break;
    case 'B':
    case 'b':
    cout<<"B. if else statemnet\n";
    cout<<"_____________________\n";
    cout<<"_____________________\n";
    break;
    case 'C':
    case 'c':
    cout<<"C. if else if statement\n";
    cout<<"_________________________\n";
    cout<<"_________________________\n";
    cout<<"_________________________\n";
    break;
    case 'D':
    case 'd':
    cout<<"D. Nested if satetment\n";
    cout<<"______________________\n";
    cout<<"______________________\n";
    break;

    }
    cout<<"Will you change the topic ?";
    cout<<"Press 'X' for change topic "<<endl;
    cin>>ch;
    if(ch=='X'||ch=='x')
    goto x;
    break;
    default:
    break;


    }
    cout<<"Press 'H' for Home :";
    cin>>ch;
    if(ch=='H'||ch=='h')
    goto H;
    return 0;
    }

  2. #2
    appteach is offline Junior Member
    Last Online
    18th February 2016 @ 05:33 PM
    Join Date
    01 Feb 2016
    Age
    23
    Gender
    Male
    Posts
    13
    Threads
    4
    Credits
    0
    Thanked
    2

    Default

    blanks apna data dalny k lye hain
    blanks khtm kar k ap apna require data dal skty hn

  3. #3
    Z.Programmer is offline Member
    Last Online
    11th October 2016 @ 11:38 AM
    Join Date
    06 Feb 2016
    Gender
    Male
    Posts
    158
    Threads
    13
    Thanked
    5

    Default

    Apptech, app apna C++ codes ko warp kya kro.

    Is par click kr ka.

  4. #4
    appteach is offline Junior Member
    Last Online
    18th February 2016 @ 05:33 PM
    Join Date
    01 Feb 2016
    Age
    23
    Gender
    Male
    Posts
    13
    Threads
    4
    Credits
    0
    Thanked
    2

    Default

    thanx bhai Z_Programmer

  5. #5
    mama rehan is offline Junior Member
    Last Online
    11th February 2020 @ 01:37 AM
    Join Date
    29 Dec 2015
    Location
    Hyderabad
    Gender
    Male
    Posts
    25
    Threads
    1
    Credits
    70
    Thanked
    0

    Default

    Thnx... AlOt

  6. #6
    Dua iman is offline Junior Member
    Last Online
    17th February 2016 @ 07:28 AM
    Join Date
    29 Nov 2014
    Age
    25
    Gender
    Female
    Posts
    2
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    output kysy lyni hai

  7. #7
    Shayan SB's Avatar
    Shayan SB is offline V.I.P
    Last Online
    26th March 2018 @ 01:23 PM
    Join Date
    26 Jan 2016
    Location
    FSD
    Age
    22
    Gender
    Male
    Posts
    3,167
    Threads
    80
    Credits
    17,246
    Thanked
    206

    Default

    Webhosting in Pakistan
    ye working kese karta he programme

Similar Threads

  1. Replies: 625
    Last Post: 24th December 2017, 12:09 PM
  2. Replies: 81
    Last Post: 3rd September 2016, 01:59 PM
  3. ye book view ho jati hai download kesy ?
    By Ahmad_Shah12 in forum Ask an Expert
    Replies: 7
    Last Post: 15th November 2015, 05:41 PM
  4. Solved program ko internet ki acces se kesy rokien
    By itzAltaf in forum Solved Problems (IT)
    Replies: 3
    Last Post: 13th October 2011, 06:33 AM
  5. Replies: 10
    Last Post: 12th September 2009, 10:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •