#include <stdio.h>
typedef enum {false, true} boolean;
boolean error_memory = true;
int cnt = 1;
void NewDay(void);
void Free(void);
boolean FallInLove(void);
void Kiss(void);
int main (int argc, const char * argv[]){
NewDay();
return 0;
}
void NewDay(void){
printf("Day %dn", cnt);
if(error_memory){
Free();
FallInLove();
Kiss();
if(cnt < 50){ cnt++; return NewDay(); }
}
}
void Free(void){
printf("Lucy reset memory!n");
}
boolean FallInLove (void){
printf("Lucy falls in love with Henry!n");
return true;
}
void Kiss(void){
printf("Henry kiss Lucy!n");
}
typedef enum {false, true} boolean;
boolean error_memory = true;
int cnt = 1;
void NewDay(void);
void Free(void);
boolean FallInLove(void);
void Kiss(void);
int main (int argc, const char * argv[]){
NewDay();
return 0;
}
void NewDay(void){
printf("Day %dn", cnt);
if(error_memory){
Free();
FallInLove();
Kiss();
if(cnt < 50){ cnt++; return NewDay(); }
}
}
void Free(void){
printf("Lucy reset memory!n");
}
boolean FallInLove (void){
printf("Lucy falls in love with Henry!n");
return true;
}
void Kiss(void){
printf("Henry kiss Lucy!n");
}