Code not working

When I put the code in Arduino everything went good until the last part of the code