Refactor Aufg1
This commit is contained in:
parent
2db97031bc
commit
3a85545d12
@ -1,7 +1,13 @@
|
||||
#include <iostream>
|
||||
|
||||
#pragma region Aufgabe1
|
||||
/*
|
||||
Ouput der Zahlen 10 bis 0 an die Konsole
|
||||
Ouput aller Buchstaben des Alphabets
|
||||
*/
|
||||
|
||||
void counter() {
|
||||
for (int i = 10; i >= 0; i--)
|
||||
for (int i = 10; i > 0; i--)
|
||||
{
|
||||
printf("%d\n", i);
|
||||
}
|
||||
@ -16,10 +22,16 @@ void alphabet() {
|
||||
}
|
||||
}
|
||||
|
||||
int main()
|
||||
void Aufg1Main()
|
||||
{
|
||||
counter();
|
||||
alphabet();
|
||||
}
|
||||
#pragma endregion
|
||||
|
||||
int main()
|
||||
{
|
||||
Aufg1Main();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user