-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arthur Leon Dyga
committed
Sep 3, 2022
1 parent
caa0b97
commit 64fde1a
Showing
5 changed files
with
120 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<RootNamespace>_2ConsolenEingabeAusgabe</RootNamespace> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
//Aufgabe1 | ||
Console.WriteLine(" .-."); | ||
Console.WriteLine("(o o)"); | ||
Console.WriteLine("| O |"); | ||
Console.WriteLine("| |"); | ||
Console.WriteLine("'~~~'"); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
|
||
|
||
//Aufgabe2 | ||
string Vorname; | ||
string Nachname; | ||
int Alter; | ||
|
||
Vorname = "Arthur"; | ||
Nachname = "Dyga"; | ||
Alter = 15; | ||
|
||
|
||
Console.WriteLine($"{Vorname}"); | ||
Console.WriteLine($"{Nachname}"); | ||
Console.WriteLine($"{Alter}"); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
|
||
|
||
//Aufgabe3 | ||
string Vorname1; | ||
string Alter1; | ||
string Klasse1; | ||
string test; | ||
|
||
|
||
Console.WriteLine("Name?"); | ||
Vorname1 = Console.ReadLine(); | ||
Console.WriteLine("Alter?"); | ||
Alter1 = Console.ReadLine(); | ||
Console.WriteLine("klasse?"); | ||
Klasse1 = Console.ReadLine(); | ||
|
||
Console.WriteLine($"{Vorname1} ist {Alter1} Jahre alt und besucht die {Klasse1} des Georg-Simon-Ohm Berufskollegs"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<RootNamespace>_2ConsolenEingbaeAusgabe</RootNamespace> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
//Aufgabe1 | ||
Console.WriteLine(" .-."); | ||
Console.WriteLine("(o o)"); | ||
Console.WriteLine("| O |"); | ||
Console.WriteLine("| |"); | ||
Console.WriteLine("'~~~'"); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
|
||
|
||
//Aufgabe2 | ||
string Vorname; | ||
string Nachname; | ||
int Alter; | ||
|
||
Vorname = "Arthur"; | ||
Nachname = "Dyga"; | ||
Alter = 15; | ||
|
||
|
||
Console.WriteLine($"{Vorname}"); | ||
Console.WriteLine($"{Nachname}"); | ||
Console.WriteLine($"{Alter}"); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
Console.WriteLine(" "); | ||
|
||
|
||
//Aufgabe3 | ||
string Vorname1; | ||
string Alter1; | ||
string Klasse1; | ||
string test; | ||
|
||
|
||
Console.WriteLine("Name?"); | ||
Vorname1 = Console.ReadLine(); | ||
Console.WriteLine("Alter?"); | ||
Alter1 = Console.ReadLine(); | ||
Console.WriteLine("klasse?"); | ||
Klasse1 = Console.ReadLine(); | ||
|
||
Console.WriteLine($"{Vorname1} ist {Alter1} Jahre alt und besucht die {Klasse1} des Georg-Simon-Ohm Berufskollegs"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters