Installa Steam
Accedi
|
Lingua
简体中文 (cinese semplificato)
繁體中文 (cinese tradizionale)
日本語 (giapponese)
한국어 (coreano)
ไทย (tailandese)
Български (bulgaro)
Čeština (ceco)
Dansk (danese)
Deutsch (tedesco)
English (inglese)
Español - España (spagnolo - Spagna)
Español - Latinoamérica (spagnolo dell'America Latina)
Ελληνικά (greco)
Français (francese)
Indonesiano
Magyar (ungherese)
Nederlands (olandese)
Norsk (norvegese)
Polski (polacco)
Português (portoghese - Portogallo)
Português - Brasil (portoghese brasiliano)
Română (rumeno)
Русский (russo)
Suomi (finlandese)
Svenska (svedese)
Türkçe (turco)
Tiếng Việt (vietnamita)
Українська (ucraino)
Segnala un problema nella traduzione
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!