Anyone can help to write this ??

May i knw how to write a program that can set goal, record food/drink consumed and record foodcomposition???