Name: Anonymous 2012-11-20 17:41
Hey guys, learning pascal here. I'm new to this programming thing and i've got a problem that's been bugging me.
I've gotta write a procedure called print_words which receives a string as a parameter, and print all the words contained in the that string. Consider all the characters other than space as components of a word. So if i type:
This is a test 12$%ab
the program must return me:
This
is
a
test
12$%ab
Would anyone help me?
I've gotta write a procedure called print_words which receives a string as a parameter, and print all the words contained in the that string. Consider all the characters other than space as components of a word. So if i type:
This is a test 12$%ab
the program must return me:
This
is
a
test
12$%ab
Would anyone help me?