Help

This is a discussion on Help within the C++ Programming forums, part of the General Programming Boards category; help me i don`t know how to solve this y=5a-2b on TC c++...

  1. #1
    Registered User Marvin Flores's Avatar
    Join Date
    Oct 2012
    Posts
    9

    Help

    help me i don`t know how to solve this y=5a-2b on TC c++

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,312
    Huh?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User sirama's Avatar
    Join Date
    Jun 2012
    Location
    Bangalore
    Posts
    7
    Declare variables for a and b. Get user input for a and b. Declare variable for y. Then write
    y = (5 * a ) - (2 * b).

    Do you say this not the answer? Then you should elaborate your question.

  4. #4
    Registered User Marvin Flores's Avatar
    Join Date
    Oct 2012
    Posts
    9
    Quote Originally Posted by sirama View Post
    Declare variables for a and b. Get user input for a and b. Declare variable for y. Then write
    y = (5 * a ) - (2 * b).

    Do you say this not the answer? Then you should elaborate your question.
    tnx ^^ sirama

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