Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Пейстбин
- //strcpy(new_word,old_word);
- #include <stdio.h>
- #include <math.h>
- #define SIZE 20
- int main()
- {
- char old_word[SIZE],new_word[SIZE];
- gets(old_word);
- gets(new_word);
- /* do
- {
- old_word[0] = new_word[0];
- gets(new_word);
- }while(old_word[0]==new_word[0]);*/
- while(old_word[0]==new_word[0])
- {
- old_word[0] = new_word[0];
- gets(new_word);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement