muratgul 0 Newbie Poster

hi,
u are so good at c, i saw some program that i looked for,
but i dont look at result,
i need a program, for beginner level of c programming (because i am beginner), converting binary to gray, gray to binary
i only know while, if, for, a little arrays,etc.
i need a simple code that can be easily understood..
please help me...