C:
#include <stdio.h>
#include <stdlib.h>
int main()
{
float preis;
float steuer;
int i, nr;
float Kurs [17]= {0.0, 1.0, 1.95583, 40.3399, 1936.27, 2.20371, 6.55957,
13.7603, 166.386, 0.787564, 200.482, 340.75, 5.94573,
239.64, 30.126, 0.4293, 0.585274};
char währung[17][30]={"", "Euro",
"Deutesche Mark",
"Luf Belgischer/Lux Franc",
"Italienische Lira",
"Hölländischer Gulden",
"Französicher Franc",
"Österr. Schilling",
"Spanische Paseta",
"Irischer Pfund",
"Portugiesischer Escudo",
"Griechische Drachme",
"Finnmark",
"Slowenische Tolar",
"Slowakische Kronen",
"Maltesische Lira",
"Zypern-Pfund"};
char währung[17][5]={"", "EUR",
"DEM",
"BEF",
"ITL",
"NLG",
"FRF",
"ATS",
"ESP",
"IEP",
"PTE",
"GRD",
"FIM",
"SIT",
"SKK",
"MTL",
"CYP"};
system("cls");
printf("Währungsumrechnung");
printf("----------------------------\n");
printf("Steuersatz: \n");
system("pause");
}
meine Fehlermeldungen:
In function `int main()':
stray '\228' in program
`w' does not name a type
Zuletzt bearbeitet von einem Moderator: