When you are creating a website, you will usually need to add details to the website. If you're coding a website as HTML, you always have to make sure your code is correct. If one thing is a mess up, you have to start the whole thing all over again.
Answer:
if ((b*b - 4*a*c)<0)
cout << "no real solutions";
return;
Explanation:
To check if "b squared" – 4ac is negative, we use the expression if ((b*b - 4*a*c)<0). This expression evaluates the 'bsquared' and substracts '4ac' from it. It then compares the resulting value with zero. if it is less than zero it means it is a negative number, so it executes the statement following cout << "no real solutions"; and returns
The process of engineering typically starts with brainstorming.
This is the Composite pattern, one of the "Gang-of-Four" design patterns (check out their book!).