https://code.sololearn.com/cLr91X16JMb3/?ref=app How do i write it correctly(so program can check if there is a " " in your input)
9/26/2018 12:16:11 PM
Oleg Storm2 Answers
New AnswerIf I have understood you correctly you are asking to check for a space in string in a better way? If that's the case, there's another way to to check for space. You can use isspace() function included in the cctype library. For more information visit this link: http://www.cplusplus.com/reference/cctype/isspace/
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message