Compare commits

...

5 commits

Author SHA1 Message Date
69424b4546 Fixing Typo in Readme.md 2023-03-28 10:27:31 +02:00
a48057f2f6 Adding Setup Info to Readme.md 2023-03-28 10:26:50 +02:00
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 80 additions and 6 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,15 +1,17 @@
## Tec Stack
Language: `lang`
Framework: `none`
Language: `c#`
Framework: `dotnet`
Librarys: `none`
## Description
Basic Template for a Learning Repo
A Basic CLI Programm printing out the Fibbonachi
## Setup
### On Linux
- step1
- step2
- step3
Requirements: Dotnet
- Clone Repo
- Go into Repo Folder
- Run `dotnet run`

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>