c program learning plan for snriud and two goods