Sounds like middle or high schoolers? Here's an idea... keep greeting them every day that you see them. Then one day DON'T greet them, just ignore them or stare at them and see what happens. Maybe something in their normal routine (you) doing something outside of the routine (not greeting) will illicit a response.
Sam