what would the output be for sin_array = {8, 1, 0, 6, 2, 0, 7, 1, 7} and the value of total
int check_sin(int *sin_array) {
    int *mult_array = {1, 2, 1, 2, 1, 2, 1, 2, 1}
    int total = 0;
    for(int i = 0; i<9; i++){
        if((sin_array[i] * mult_array[i]) / 10 == 0){
            total += (sin_array[i] * mult_array[i]);
        } else {
            int one = (sin_array[i] * mult_array[i]) / 10;
            int two = (sin_array[i] * mult_array[i]) % 10;
            total += (one + two);
        }
    }
    
    if(total % 10 == 0){
        return 0;
    } else {
        return 1;
    }
}