Can't understand C+

This is a discussion on Can't understand C+ within the C++ Programming forums, part of the General Programming Boards category; Hi, I just start a class called programing logic and design and I do well on my tests but cannot ...

  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21