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

14th Oct 2022, 3:31 PM
Mahnoor
Mahnoor - avatar
4 Réponses
+ 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.
14th Oct 2022, 3:37 PM
Lisa
Lisa - avatar
+ 1
print the result, not the string with the expression. a ")" is missing!
14th Oct 2022, 4:29 PM
Lisa
Lisa - avatar
0
i am not getting it bc I am new to this can you share its code with me would be very helpful
14th Oct 2022, 5:03 PM
Mahnoor
Mahnoor - avatar