This document provides instructions for a lab assignment to create a class that reads three real numbers from keyboard, calculates the roots of a quadratic equation ax^2 + bx + c = 0, checks if the roots are correct, and handles particular cases where a and/or b are equal to 0. The program displays the roots and a message indicating if they are correct or handles the particular cases.
This document provides instructions for a lab assignment to create a class that reads three real numbers from keyboard, calculates the roots of a quadratic equation ax^2 + bx + c = 0, checks if the roots are correct, and handles particular cases where a and/or b are equal to 0. The program displays the roots and a message indicating if they are correct or handles the particular cases.
This document provides instructions for a lab assignment to create a class that reads three real numbers from keyboard, calculates the roots of a quadratic equation ax^2 + bx + c = 0, checks if the roots are correct, and handles particular cases where a and/or b are equal to 0. The program displays the roots and a message indicating if they are correct or handles the particular cases.