Emily Young

Project

One major factor of computer programming is writing code that will return a product. A code that I have written is one that will solve Quadratic and Pythagorean theorems. This code has many parts that can be manipulated.

In the first part of the code, the user can enter data and in return get an answer to their quadratic formula. The user can enter as many quadratic formulas as they would like answered, and once finished with quadratic equations, the user can switch and start entering Pythagorean theorems if they'd like. The system is user friendly because it asks for specific data that can be easily inputted. For example if entering data for a Pythagorean theorem, the user can input what side they need to find in the problem they are working on, then the program gives a solution.

CODE

Emily Young
Emily Young

These next images are the solutions to the program. Depending on what the user enters, the program decides what to do next.

OUTPUT

Emily Young
Emily Young