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

Printable View

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

- 10-11-2012laserlight
Huh?

- 10-11-2012sirama
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. - 10-14-2012Marvin Flores
tnx ^^

**sirama**