Copy or not ! i cant learn C programming in one day.But i am trying to solve my problems and i have to give them tomorrow. Anyway, i solve my first question with Salem helps.Thanks.
But i dont know how to start my second question.Really i could not understand .Anybody has an idea how to do it?
So show your code for the first one and people can help criticise it so you'll learn more. The solution for the second task is absolutely obvious if you understand how to solve the first one.