subject

Write a program that takes in a line of text as input, and outputs that line of text in reverse. the program repeats, ending when the user enters "quit", "quit", or "q" for the line of text.

ex: if the input is:

hello there
hey
quit
then the output is:

ereht olleh
yeh

i can't figure out how to make this code. if anyone could i would appreciate it.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:40
Consider the simple 3-station assembly line illustrated below, where the 2 machines at station 1 are parallel, i.e., the product only needs to go through one of the 2 machines before proceeding to station 2.what is the throughput time of this process?
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
2. fluorine and chlorine molecules are blamed fora trapping the sun's energyob forming acid rainoc producing smogod destroying ozone molecules
Answers: 2
You know the right answer?
Write a program that takes in a line of text as input, and outputs that line of text in reverse. the...
Questions
question
Social Studies, 21.04.2020 20:20
question
Mathematics, 21.04.2020 20:20
question
English, 21.04.2020 20:20
Questions on the website: 13722363