Write a program that solves the quadratic equation
a x² + b x + c = 0 for any a, b, and c.
First calculate the discriminant D and print how many solutions the equation has. Then print the solutions.
As extensions calculate the maximum or minimum point and define an UDG for the superscript 2 for to print the equation nicely.
This is where most of us started. Classic Spectrum basic.
Moderator: Programming Moderators
1 post • Page 1 of 1