CSC 117 Programming for Scientists and Engineers
Extra Project.
There are no points for extra projects. Please do not hand them
in to the grader.
Improve Project 3 by introducing a loop. The user should be able to
use the program to solve any number of quadratic equations, and the
program should halt when the user is finished. The program should query
the user by printing a message such as,
"Would you like to solve another quadratic equation?"
and the user should be able to give a yes or no answer, where a no answer
causes the program to conclude, and a yes answer causes it to continue.
There must be no limit to the number of problems the user can work. Thus,
you must use an indefinite loop, not
a definite loop for this problem.
To maintain the structuredness of your program, your loop must have only
one exit.
You will need to read ahead in the book to the chapter on loops. There
are a number of acceptable options for this project in Fortran 90.
The most challenging part of this project is not writing the loop, but
figuring out how the program will query the user and obtain the answer
to the query, using character variables. This will require you to read
ahead in the textbook.
Do not use a GO TO statement.
Although there is no due date, since you are not to hand this project in,
there is a recommended completion time, which is Wednesday, July 24.
After that date, we might "spoil" the project by discussing in class.