Compare commits

...

3 commits

Author SHA1 Message Date
cd1458b139 Implement Fibbonachi Functionality 2023-03-28 10:22:28 +02:00
be5588f02c Configure Readme.md and .gitignore 2023-03-28 10:21:07 +02:00
daec0d625f Add Debugger 2023-03-28 10:20:37 +02:00
4 changed files with 74 additions and 2 deletions

38
.gitignore vendored Normal file
View file

@ -0,0 +1,38 @@
*.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 Normal file
View file

@ -0,0 +1,24 @@

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;
}

View file

@ -1,10 +1,10 @@
## Tec Stack ## Tec Stack
Language: `lang` Language: `c#`
Framework: `none` Framework: `none`
Librarys: `none` Librarys: `none`
## Description ## Description
Basic Template for a Learning Repo A Basic CLI Programm printing out the Fibbonachio
## Setup ## Setup

10
fibbonachio.csproj Normal file
View file

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>