how to create a java program that ask the user to input a string and to input a number of how many times you want to reverse it at right to left?
please help me with creating this program..
sample:
Enter word:
computer
enter number of rotation:
3
output:
tercompu
ruzt 0 Newbie Poster
JGorard159 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
ruzt 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
nitinmbhanu -3 Newbie Poster
ruzt 0 Newbie Poster
ruzt 0 Newbie Poster
ruzt 0 Newbie Poster
nitinmbhanu commented: it is reversion!!!!!!!!!!!!!!!! +0
ruzt 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
nitinmbhanu -3 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
nitinmbhanu -3 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.