a function that accepts a sentence as a parameter, and returns the same with each of

ANVESH K N

New member
its words reversed.? The returned sentence should have 1 blank space between each pair of words
Example:
Parameter: “jack and jill went up a hill”
Return Value: “kcaj dna llij tnew pu a llih”
please give detailed flowchart,
algorithm or pseudo-code.
 
Back
Top