|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 295 (0x127) Types: TextFile Names: »main.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/yearlength/main.c«
#include <stdio.h> main() { int days_in_year(); int year; int country_code; while (1) { printf("\nEnter year and country code: "); if (scanf("%d %d", &year, &country_code) == EOF) exit(0); printf("it has %d days\n", days_in_year(year, country_code)); } }