Skip to content

Commit 64fde1a

Browse files
author
Arthur Leon Dyga
committed
Namen änderung
1 parent caa0b97 commit 64fde1a

File tree

5 files changed

+120
-6
lines changed

5 files changed

+120
-6
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net6.0</TargetFramework>
6+
<RootNamespace>_2ConsolenEingabeAusgabe</RootNamespace>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<Nullable>enable</Nullable>
9+
</PropertyGroup>
10+
11+
</Project>

2ConsolenEingabeAusgabe/Program.cs

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
//Aufgabe1
2+
Console.WriteLine(" .-.");
3+
Console.WriteLine("(o o)");
4+
Console.WriteLine("| O |");
5+
Console.WriteLine("| |");
6+
Console.WriteLine("'~~~'");
7+
Console.WriteLine(" ");
8+
Console.WriteLine(" ");
9+
Console.WriteLine(" ");
10+
Console.WriteLine(" ");
11+
12+
13+
//Aufgabe2
14+
string Vorname;
15+
string Nachname;
16+
int Alter;
17+
18+
Vorname = "Arthur";
19+
Nachname = "Dyga";
20+
Alter = 15;
21+
22+
23+
Console.WriteLine($"{Vorname}");
24+
Console.WriteLine($"{Nachname}");
25+
Console.WriteLine($"{Alter}");
26+
Console.WriteLine(" ");
27+
Console.WriteLine(" ");
28+
Console.WriteLine(" ");
29+
Console.WriteLine(" ");
30+
31+
32+
//Aufgabe3
33+
string Vorname1;
34+
string Alter1;
35+
string Klasse1;
36+
string test;
37+
38+
39+
Console.WriteLine("Name?");
40+
Vorname1 = Console.ReadLine();
41+
Console.WriteLine("Alter?");
42+
Alter1 = Console.ReadLine();
43+
Console.WriteLine("klasse?");
44+
Klasse1 = Console.ReadLine();
45+
46+
Console.WriteLine($"{Vorname1} ist {Alter1} Jahre alt und besucht die {Klasse1} des Georg-Simon-Ohm Berufskollegs");
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net6.0</TargetFramework>
6+
<RootNamespace>_2ConsolenEingbaeAusgabe</RootNamespace>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<Nullable>enable</Nullable>
9+
</PropertyGroup>
10+
11+
</Project>

2ConsolenEingbaeAusgabe/Program.cs

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
//Aufgabe1
2+
Console.WriteLine(" .-.");
3+
Console.WriteLine("(o o)");
4+
Console.WriteLine("| O |");
5+
Console.WriteLine("| |");
6+
Console.WriteLine("'~~~'");
7+
Console.WriteLine(" ");
8+
Console.WriteLine(" ");
9+
Console.WriteLine(" ");
10+
Console.WriteLine(" ");
11+
12+
13+
//Aufgabe2
14+
string Vorname;
15+
string Nachname;
16+
int Alter;
17+
18+
Vorname = "Arthur";
19+
Nachname = "Dyga";
20+
Alter = 15;
21+
22+
23+
Console.WriteLine($"{Vorname}");
24+
Console.WriteLine($"{Nachname}");
25+
Console.WriteLine($"{Alter}");
26+
Console.WriteLine(" ");
27+
Console.WriteLine(" ");
28+
Console.WriteLine(" ");
29+
Console.WriteLine(" ");
30+
31+
32+
//Aufgabe3
33+
string Vorname1;
34+
string Alter1;
35+
string Klasse1;
36+
string test;
37+
38+
39+
Console.WriteLine("Name?");
40+
Vorname1 = Console.ReadLine();
41+
Console.WriteLine("Alter?");
42+
Alter1 = Console.ReadLine();
43+
Console.WriteLine("klasse?");
44+
Klasse1 = Console.ReadLine();
45+
46+
Console.WriteLine($"{Vorname1} ist {Alter1} Jahre alt und besucht die {Klasse1} des Georg-Simon-Ohm Berufskollegs");

GrundlagenCSharp.sln

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ VisualStudioVersion = 17.1.32414.318
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "1SyntaxCSharp", "1SyntaxCSharp\1SyntaxCSharp.csproj", "{EE0832A7-EB51-4EB0-A85E-90B55882B62B}"
77
EndProject
8-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleEingabeAusgabe", "ConsoleEingabeAusgabe\ConsoleEingabeAusgabe.csproj", "{6D80AA07-F516-4EAA-BF96-2491C0EDFA98}"
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "3Datentypkonvertierung", "3Datentypkonvertierung\3Datentypkonvertierung.csproj", "{E6A6E114-FA8D-4370-88AB-A8388DC43E34}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3Datentypkonvertierung", "3Datentypkonvertierung\3Datentypkonvertierung.csproj", "{E6A6E114-FA8D-4370-88AB-A8388DC43E34}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2ConsolenEingbaeAusgabe", "2ConsolenEingbaeAusgabe\2ConsolenEingbaeAusgabe.csproj", "{C46D499A-20B9-4F3A-B6DB-CC08224A766B}"
1111
EndProject
1212
Global
1313
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -19,14 +19,14 @@ Global
1919
{EE0832A7-EB51-4EB0-A85E-90B55882B62B}.Debug|Any CPU.Build.0 = Debug|Any CPU
2020
{EE0832A7-EB51-4EB0-A85E-90B55882B62B}.Release|Any CPU.ActiveCfg = Release|Any CPU
2121
{EE0832A7-EB51-4EB0-A85E-90B55882B62B}.Release|Any CPU.Build.0 = Release|Any CPU
22-
{6D80AA07-F516-4EAA-BF96-2491C0EDFA98}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23-
{6D80AA07-F516-4EAA-BF96-2491C0EDFA98}.Debug|Any CPU.Build.0 = Debug|Any CPU
24-
{6D80AA07-F516-4EAA-BF96-2491C0EDFA98}.Release|Any CPU.ActiveCfg = Release|Any CPU
25-
{6D80AA07-F516-4EAA-BF96-2491C0EDFA98}.Release|Any CPU.Build.0 = Release|Any CPU
2622
{E6A6E114-FA8D-4370-88AB-A8388DC43E34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2723
{E6A6E114-FA8D-4370-88AB-A8388DC43E34}.Debug|Any CPU.Build.0 = Debug|Any CPU
2824
{E6A6E114-FA8D-4370-88AB-A8388DC43E34}.Release|Any CPU.ActiveCfg = Release|Any CPU
2925
{E6A6E114-FA8D-4370-88AB-A8388DC43E34}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{C46D499A-20B9-4F3A-B6DB-CC08224A766B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{C46D499A-20B9-4F3A-B6DB-CC08224A766B}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{C46D499A-20B9-4F3A-B6DB-CC08224A766B}.Release|Any CPU.ActiveCfg = Release|Any CPU
29+
{C46D499A-20B9-4F3A-B6DB-CC08224A766B}.Release|Any CPU.Build.0 = Release|Any CPU
3030
EndGlobalSection
3131
GlobalSection(SolutionProperties) = preSolution
3232
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)