Keith Park

577
reputation
1
5
16

Doosan Corp., I&C, Big Data/Business Analytics Consultant.

#include<parents.h>
#include<friends.h>
#include<citizen.h>

#define LOVE MONEY
#define CHILD LIABILITY

int life(char* personalAbility, char* perents)
{
    int money,enough=0;

    money = earn(personalAbility)
    money -= tax(money);
    money += inheritance(parents);
    money += lottery(rand());

    money -= dream(&enough);

    if(money >= enough)
        return HEAVEN;
    else
        return HELL;
}