Compare commits
No commits in common. "c#-fibbonachio" and "master" have entirely different histories.
c#-fibbona
...
master
4 changed files with 6 additions and 80 deletions
38
.gitignore
vendored
38
.gitignore
vendored
|
@ -1,38 +0,0 @@
|
|||
*.swp
|
||||
*.*~
|
||||
project.lock.json
|
||||
.DS_Store
|
||||
*.pyc
|
||||
nupkg/
|
||||
|
||||
# Visual Studio Code
|
||||
.vscode
|
||||
|
||||
# Rider
|
||||
.idea
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
*.user
|
||||
*.userosscache
|
||||
*.sln.docstates
|
||||
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Dd]ebugPublic/
|
||||
[Rr]elease/
|
||||
[Rr]eleases/
|
||||
x64/
|
||||
x86/
|
||||
build/
|
||||
bld/
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
[Oo]ut/
|
||||
msbuild.log
|
||||
msbuild.err
|
||||
msbuild.wrn
|
||||
|
||||
# Visual Studio 2015
|
||||
.vs/
|
||||
|
24
Program.cs
24
Program.cs
|
@ -1,24 +0,0 @@
|
|||
|
||||
int amount;
|
||||
|
||||
ASK_INPUT:
|
||||
Console.WriteLine("Enter how many numbers you want to compute:");
|
||||
string input = Console.ReadLine();
|
||||
|
||||
if(!Int32.TryParse(input, out amount)){
|
||||
Console.WriteLine("Input Wasn't a Number!");
|
||||
goto ASK_INPUT;
|
||||
}
|
||||
|
||||
// Declare Variables used for Calculation
|
||||
System.Numerics.BigInteger themp;
|
||||
System.Numerics.BigInteger a = 1;
|
||||
System.Numerics.BigInteger b = 1;
|
||||
|
||||
for (int i = 1; i < amount + 1; i++)
|
||||
{
|
||||
Console.WriteLine($"{i}: {a}\n");
|
||||
themp = a;
|
||||
a = a + b;
|
||||
b = themp;
|
||||
}
|
14
Readme.md
14
Readme.md
|
@ -1,17 +1,15 @@
|
|||
## Tec Stack
|
||||
Language: `c#`
|
||||
Framework: `dotnet`
|
||||
Language: `lang`
|
||||
Framework: `none`
|
||||
Librarys: `none`
|
||||
|
||||
## Description
|
||||
A Basic CLI Programm printing out the Fibbonachi
|
||||
Basic Template for a Learning Repo
|
||||
|
||||
## Setup
|
||||
|
||||
### On Linux
|
||||
|
||||
Requirements: Dotnet
|
||||
|
||||
- Clone Repo
|
||||
- Go into Repo Folder
|
||||
- Run `dotnet run`
|
||||
- step1
|
||||
- step2
|
||||
- step3
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Loading…
Reference in a new issue