Saturday, 15 June 2013

c - Save word as string -


It is necessary to save the word and type the letter by letter.

I know that it is very easy to work with loop but the problem is that I do not know how much longer words I need to create a function that will count the first letter Wondering that this is the easiest way to do this.

Current Progress

  #include & lt; Stdio.h & gt; Int main () {Four words [30]; Int i; Printf ("Enter the word"); Scanf ("% s", word); While (word [i]! = '\ 0') i ++; Printf ("% c,", word [i]); // word backward! // not know}  


No comments:

Post a Comment