Steam'i Yükleyin
giriş
|
dil
简体中文 (Basitleştirilmiş Çince)
繁體中文 (Geleneksel Çince)
日本語 (Japonca)
한국어 (Korece)
ไทย (Tayca)
Български (Bulgarca)
Čeština (Çekçe)
Dansk (Danca)
Deutsch (Almanca)
English (İngilizce)
Español - España (İspanyolca - İspanya)
Español - Latinoamérica (İspanyolca - Latin Amerika)
Ελληνικά (Yunanca)
Français (Fransızca)
Italiano (İtalyanca)
Bahasa Indonesia (Endonezce)
Magyar (Macarca)
Nederlands (Hollandaca)
Norsk (Norveççe)
Polski (Lehçe)
Português (Portekizce - Portekiz)
Português - Brasil (Portekizce - Brezilya)
Română (Rumence)
Русский (Rusça)
Suomi (Fince)
Svenska (İsveççe)
Tiếng Việt (Vietnamca)
Українська (Ukraynaca)
Bir çeviri sorunu bildirin
Thanks for the 133 team flashes this year!
https://leetify.com/2023/76561199101324123#friends
+REP, thanks for the trade!
int main () {
int a, b, c, k, p, q, M, d, N, e, jahr, ostern, x;
//Abfrage
printf("Fuer welches Jahr soll das Osterdatrum berechnet werden?\n");
scanf("%i", &jahr);
x = 1;
//Berechnung
while (x<=10) {
a = jahr % 19;
b = jahr % 4;
c = jahr % 7;
k = jahr / 100;
p = (8*k + 13) / 25;
q = k / 4;
M = (15+ k - p - q) % 30;
d = (19*a + M) % 30;
N = (4 + k - q) % 7;
e = (2*b + 4*c + 6*d + N) % 7;
ostern = (22 + d + e);
//Ausgabe
if (ostern <= 31) {
printf("Ostern ist am %2i. Maerz %i\n", ostern, jahr);
} else {
ostern = ostern - 31;
printf("Ostern ist am %2i. April %i\n", ostern, jahr);
}
x = x + 1;
jahr = jahr + 1;
}
return 0;
}
Du geiler Bock!