Ask your own question, for FREE!
Computer Science 17 Online
OpenStudy (anonymous):

. Make and run a program that will accept a maximum of 40 characters and output this format to a word without a space. Sample output: The brown fox jumps over the lazy dog Thebrownfoxjumpsoverthelazydog

OpenStudy (anonymous):

http://ideone.com/cOskx

OpenStudy (anonymous):

These are all trivial tasks. You should try them yourself :)

OpenStudy (anonymous):

even then if you are having a problem, i will post the code here for you... #include<stdio.h> #include<string.h> #include<conio.h> int main() { int i,j; char str_in[400],str_out[400]; gets(str_in); i=0;j=0; while(i<strlen(str_in)) { if(str_in[i]!=' ') {str_out[j]=str_in[i]; j++; } i++; } puts(str_out); getch(); }

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!