Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/calculationcollective/f90calculator
https://github.com/calculationcollective/f90calculator
calculator f90 fortran fortran90
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/calculationcollective/f90calculator
- Owner: CalculationCollective
- License: other
- Created: 2023-02-09T10:05:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T10:19:45.000Z (almost 2 years ago)
- Last Synced: 2024-11-11T01:24:40.113Z (3 months ago)
- Topics: calculator, f90, fortran, fortran90
- Language: Fortran
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# F90Calculator
- [F90Calculator](#f90calculator)
- [Set-up Fortran90](#set-up-fortran90)
- [Compile the calculator](#compile-the-calculator)
- [Use the calculator](#use-the-calculator)## Set-Up Fortran90
You can download a compiler [here](https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#fortran).
## Compile the calculator
To compile the program type this into your console.
```bash
f90 -o F90Calculator F90Calculator.f90
```## Use the calculator
After executing the calculator you can enter the first number.
```bash
Enter first number:
5 # 5 is the input
```
Then choose between the calculation functions.
```bash
Choose between:
1) Addition
2) Subtraction
3) Multiplication
4) Division
1 # < This is our input
```
We now can enter the second number
```bash
Enter second number:
2 # 2 is the input
```
Now it should give the right output.
```bash
6.9999999E-07 # this is the return value
```