This commit is contained in:
Bora Zuenbuelkoek 2025-05-30 08:51:25 +02:00
parent 6eb4e0e658
commit dc6284a432
4 changed files with 5 additions and 5 deletions

View File

@ -30,8 +30,6 @@ int main() {
printf("Zu wandelnde Zahl: ");
scanf("%d", &zahl);
printf("... %d = ", zahl);
// Über die Ziffern von groß nach klein iterieren (von hinten nach vorne)

View File

@ -7,7 +7,7 @@ typedef struct {
} RoemZahl;
int main() {
// Array aufsteigend sortiert (klein nach groß), inkl. Super-Subtraktionsregeln
// Array aufsteigend sortiert (klein nach groß)
RoemZahl ziffern[] = {
{1, "I"},
{4, "IV"},

View File

@ -103,5 +103,6 @@ int main() {
return 0;
}
// Kompilieren: gcc -o wordstat wordstat.c
// Ausführen: ./wordstat < somefile.txt
// Kompilieren: gcc -o 28.6.3_wortstat 28.6.3_wortstat.c
// Ausführen: 28.6.3_wortstat.exe < test.txt

1
test.txt Normal file
View File

@ -0,0 +1 @@
hallo was geht ich bin hallo was geht ich bin hallo was geht