0

Write a program that prompts the user to enter a line of text, On the next line, display the reverse letter entered. The Execution should look like this:

Type a line of Text: RAINBOW
Result: WOBNIAR
[esc key terminates the program]


would you please help me..

i dont know what to do..

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by a07859
0

use getch with echo (int 21h with ah=1)
result in al then push al and loop to getch with echo and so on until the input finish
to display the output just pop to dx register then use int 21h with ah=9h to write string ^^

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.