Thread: Can't understand C+

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    1

    Unhappy Can't understand C+

    Hi,
    I just start a class called programing logic and design and I do well on my tests but cannot figure out to write a prsuedocode and flowchart for the following project. How do you code a program to do 4 separate functions, *, / , +, and - ,

    For the life of me I cannot figure this out. Any help would be greatly appreciated.

  2. #2
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765

    maybe........?

    #include ///////

    int step1()
    {
    //do stuff
    return 0;
    }

    int step2()
    {
    //do stuff
    return 0;
    }

    int step3()
    {
    //do stuff
    return 0;
    }

    int step4()
    {
    //do stuff
    return 0;
    }

    int main()
    {
    step1();
    step2();
    step3();
    step4();
    return 0;
    }

    Maybe?
    The world is waiting. I must leave you now.

Popular pages Recent additions subscribe to a feed