Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 
avatar of Keith Park

Keith Park

Keith Park has asked 2 questions and find answers to 1 problems.

Stats

10
EtPoint
0
Vote count
2
questions
1
answers

About

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;
}