cobol-interpreter-lab/lab-2/LANGUAGE.md

20 lines
497 B
Markdown

# Language Proposal
### 1. Hello World
### 2. Quadratic Function
- Note: code needs to be formatted
- credit to [Marco Biagini](https://www.quora.com/What-is-a-COBOL-program-that-will-solve-a-quadratic-equation)
- a quadratic equation of the form **ax^2 + bx + c = 0**
#### Input
User will be prompted for a, b, and c (ex. 1, 5, 6)
#### Output
Program will display the real roots or if there are no real roots (ex. -2, -3)
### 3. Integer Sort
### 4. Language Features