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

Make and run a program that will reverse the entered string without using the function strrev(). Sample output: Enter a word: Technology The reverse of this word is ygolonhceT

OpenStudy (anonymous):

I think you are posting homework here. Nevertheless you should provide us with some more information about what language you want to be helped at. Using google i found out that the language could be C or PHP. Here is some Pseudocode-Text: You have a string / char array called "text". You count the characters and save the length under text_length. You go from text[length-1] back to zero in an loop and print the character at this position. Thats how strrev() is (possibly) implemented.

OpenStudy (anonymous):

it is just a three line program , here:- s = raw_input('Enter the string: ') s = s[::-1] print s

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!