Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Uwe Wienkop
Prog1_WS2018_19_Wienkop
Commits
454899d1
Commit
454899d1
authored
Oct 16, 2018
by
Uwe Wienkop
Browse files
Dienstag, Übung2
parent
3364e8ab
Changes
5
Hide whitespace changes
Inline
Side-by-side
01Pythagoras/Prog1_WS2018.sln
View file @
454899d1
...
...
@@ -19,6 +19,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02Fallunterscheidungen2", "
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02Ausgabeaufbereitungen", "..\02Ausgabeaufbereitungen\02Ausgabeaufbereitungen.csproj", "{924685C3-2392-42EB-A850-1772F3942FE9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02Fallungerscheidungen3", "..\02Fallungerscheidungen3\02Fallungerscheidungen3.csproj", "{18B1C79E-315A-4B0F-BAB8-D364E51ABD5B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
@@ -57,6 +59,10 @@ Global
{924685C3-2392-42EB-A850-1772F3942FE9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{924685C3-2392-42EB-A850-1772F3942FE9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{924685C3-2392-42EB-A850-1772F3942FE9}.Release|Any CPU.Build.0 = Release|Any CPU
{18B1C79E-315A-4B0F-BAB8-D364E51ABD5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{18B1C79E-315A-4B0F-BAB8-D364E51ABD5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{18B1C79E-315A-4B0F-BAB8-D364E51ABD5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{18B1C79E-315A-4B0F-BAB8-D364E51ABD5B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
02Fallungerscheidungen3/02Fallungerscheidungen3.csproj
0 → 100644
View file @
454899d1
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{18B1C79E-315A-4B0F-BAB8-D364E51ABD5B}
</ProjectGuid>
<OutputType>
Exe
</OutputType>
<RootNamespace>
_02Fallungerscheidungen3
</RootNamespace>
<AssemblyName>
02Fallungerscheidungen3
</AssemblyName>
<TargetFrameworkVersion>
v4.6.1
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<AutoGenerateBindingRedirects>
true
</AutoGenerateBindingRedirects>
<Deterministic>
true
</Deterministic>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
<Reference
Include=
"Microsoft.CSharp"
/>
<Reference
Include=
"System.Data"
/>
<Reference
Include=
"System.Net.Http"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Program.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"App.config"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
</Project>
\ No newline at end of file
02Fallungerscheidungen3/App.config
0 → 100644
View file @
454899d1
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.1"
/>
</
startup
>
</
configuration
>
\ No newline at end of file
02Fallungerscheidungen3/Program.cs
0 → 100644
View file @
454899d1
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
_02Fallungerscheidungen3
{
class
Program
{
static
void
Main
(
string
[]
args
)
{
int
anzTage
=
Convert
.
ToInt32
(
Console
.
ReadLine
());
double
preis
;
if
(
anzTage
<=
3
)
{
preis
=
89.50
;
}
else
{
if
(
anzTage
<=
10
)
{
preis
=
79.50
;
}
else
{
preis
=
60.00
;
}
}
preis
=
0
;
if
(
anzTage
>
10
)
preis
=
60
;
if
(
anzTage
<=
3
)
preis
=
89.50
;
if
(
4
<=
anzTage
&&
anzTage
<=
10
)
preis
=
79.50
;
Console
.
WriteLine
(
preis
);
}
}
}
02Fallungerscheidungen3/Properties/AssemblyInfo.cs
0 → 100644
View file @
454899d1
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[
assembly
:
AssemblyTitle
(
"02Fallungerscheidungen3"
)]
[
assembly
:
AssemblyDescription
(
""
)]
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
""
)]
[
assembly
:
AssemblyProduct
(
"02Fallungerscheidungen3"
)]
[
assembly
:
AssemblyCopyright
(
"Copyright © 2018"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
[
assembly
:
AssemblyCulture
(
""
)]
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[
assembly
:
ComVisible
(
false
)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[
assembly
:
Guid
(
"18b1c79e-315a-4b0f-bab8-d364e51abd5b"
)]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[
assembly
:
AssemblyVersion
(
"1.0.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.0.0.0"
)]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment