in my code sometimes the function returns wrong number or does not return
classes and structures is confusing for me would you please refer some tutorial video contents to me