Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Need working code for a c program that will read a string from the key board. Co

ID: 3534145 • Letter: N

Question

Need working code for a c program that will read a string from the key board.


Conditions:


Even length: If length of the string is an even number then it should split the string into two strings of equal length.


Odd length: If length of the string is an odd number then it should spit the string into two strings where the first portion should have one more character than the second portion. Program should output two strings it created.


Example: if the input to the program is "2BeOrNOtToBe", the output of the program should be


2BeOrN

otToBe


If the input is "ToBeOrNOtToBe" the output of the program should be


ToBeOrN

oToBe

Explanation / Answer

//pleae rate

http://ideone.com/DVQZ8v

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote