unidade3_test.c
CUSTOMER build_customer(char* name, int day, int month, int year, double expenses) {
    CUSTOMER customer;
    
    strncpy(customer.name, name, MAX_NAME);
    customer.birthday.day = day;
    customer.birthday.month = month;
    customer.birthday.year = year;
    customer.expenses = expenses;

    return customer;
}
//builda um customer pra teste.
builda um customer pra teste.
builda um customer pra teste .
CUSTOMER build_customer(char* name, int day, int month, int year, double expenses) {
    CUSTOMER customer;
    strncpy(customer.name, name, MAX_NAME);
    customer.birthday.day = day;
    customer.birthday.month = month;
    customer.birthday.year = year;
    customer.expenses = expenses;
    return customer;
}
CUSTOMER build_customer ( char * name , int day , int month , int year , double expenses ) { CUSTOMER customer ; strncpy ( customer . name , name , MAX_NAME ) ; customer . birthday . day = day ; customer . birthday . month = month ; customer . birthday . year = year ; customer . expenses = expenses ; return customer ; }
builda um customer pra teste.
builda um customer pra teste .