0
Convert following expression into C++ code (3+4*x)/5-(10*(y-5)*(a+b+c))/x+9*(4/x+(9+x)/y
I need help with this please tell me how to write its code
4 Answers
+ 1
define variables x and y, a, b, and c, assign values to them. Then write the formula as is* and store the result in another variable. You can then output the result.
* there is a ")" missing, I think.
If you need more help, please link your code attempt so we can check on it.
+ 1
print the result, not the string with the expression.
a ")" is missing!
0
i am not getting it bc I am new to this can you share its code with me would be very helpful