Merge remote-tracking branch 'origin/main'
# Conflicts: # hallo.exe # modus.c # vielmax.exe
This commit is contained in:
commit
6da5d3161d
8
.idea/runConfigurations/22_5_2.xml
generated
Normal file
8
.idea/runConfigurations/22_5_2.xml
generated
Normal file
@ -0,0 +1,8 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="22.5.2" type="CppFileRunConfiguration" factoryName="CppFileRunConfiguration" folderName="New Folder" REDIRECT_INPUT="false" ELEVATE="false" USE_EXTERNAL_CONSOLE="false" EMULATE_TERMINAL="false" PASS_PARENT_ENVS_2="true" PROJECT_NAME="Info2P5" TARGET_NAME="22.5.c" CONFIG_NAME="22.5.2">
|
||||
<option name="sourceFile" value="C:\Users\z004tv1b\CLionProjects\Info2P5\22.5.c" />
|
||||
<method v="2">
|
||||
<option name="com.jetbrains.cidr.cpp.runfile.CppFileBuildBeforeRunTaskProvider$BasicBuildBeforeRunTask" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
2
hallo.c
2
hallo.c
@ -3,7 +3,7 @@
|
||||
int main() {
|
||||
int max_zahlen, i, eingabe;
|
||||
|
||||
printf("Gib ein wie viele Zahlen verglichen werden sollen: ");
|
||||
printf("Gib ein wie viele Zahlen verglichen werden sollen: \n ");
|
||||
if (scanf("%d", &max_zahlen) != 1) {
|
||||
printf("Ungueltige Eingabe, bitte eine ganze Zahl eingeben.\n");
|
||||
while (getchar() != '\n');
|
||||
|
Loading…
x
Reference in New Issue
Block a user