Skip to content

dyachaliin/quadratic-equation-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Quadratic Equation Solver

This is CLI for quick solving quadratic equations

Installation

  1. Clone the repository to you local machine
git clone https://github.com/dyachaliin/quadratic-equation-solver
  1. Open directory
cd quadratic-equation-solver/quadratic-equation-solver
  1. Run solver
swift main.swift

Usage

There are two modes supported:

  1. Interactive
  2. Noninteractive
Choose mode: Press 1 for Interactive mode or 2 for Noninteractive

1. Interactive

For using interactive mode just enter real numbers for a, b, c coefficients.

2. Noninteractive

For using this mode just enter full path to the file.

File's content should be as follows:

1 0 0

or

1\s0\s0\n

Link to the revert commit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages