can some 1 plz tell me what is the C++ expressions of – a + (b2 – 4ac)/2a
What about it?
your question isn't very clear, and probably belongs in the computer science section is your question how to write the expression \(\large{-a+(b^2-4ac)\over2a}\) in C++ ?
well, -, +, /, and parentheses are all valid in C++ the only thing you need to remember is that you need to put the asterisk * to indicate multiplication
so the only thing you need to change are things like 4ac -> 4*a*c and how would you then represent b^2 ?
I have to ask, if you know "nothing about C++" why do you need to know this? Besides, even without any knowledge of C++ I think I have given you enough info to answer the question, and it is against the code of conduct to give the answer directly. put a - to indicate a minus sign, + to indicate addition, / to indicate division, * to indicate multiplication, and put parentheses around the appropriate parts to control the order of operations. if 4ac is written as 4*a*c, then how would you write b^2 ? at least try to think it through and show some effort so I can work with you.
\[b^2\]i guess
Join our real-time social learning platform and learn together with your friends!