I dont know whats wrong

#include<stdio.h>
int anobissexto(int year);
int main(void){
int ano;

printf("Digite o ano e eu verifico se ele é bissexto ou não.\n");
scanf("%i", &ano);

int resultado=anobissexto(ano);

printf("%i", resultado);

}

int anobissexto(int year){

if((year%4==0)&&(year%100!=0)&&(year%400!=0)||(year%4==0)&(year%100==0)&&(year%400==0)){
    printf("%i é ano bissexto", year);

}else
    printf("%i não é ano bissexto", year);
}

Hi and welcome!

I guess you’re trying to solve the leap exercise on the C track, right?

Exercism uses unit tests that call your function with various arguments and check whether the result is correct. You don’t have to read input from the user or print the result.

This exercise wants you to implement a function leap_year that takes the year (an int) as its argument and returns a bool: either true if the year is a leap year, or false otherwise.