Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Program help  RSS feed

 
Arathi Raj
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can any one help me in writing code for the below program
Take an argument in at the command-line.
Print the argument in reverse.
If no argument is provided, display a message to the user.
Do not use functions/methods that would do this automatically.
The program does not require handling multiple arguments, but it
should handle an argument of varying lengths.
Example :arument command arege
it has to display egera
no methods can be used
 
Bert Bates
author
Sheriff
Posts: 8945
17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arithi -
I think the standard approach for this kind of situation is for you to give it a try, and then to show us your code with any specific questions or problems you might have!
-Bert
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to the Beginner's forum. However, just like Bert said, you should first give it a try yourself, then we'll be happy to help you out with some of the points you're stuck on (otherwise, how would you learn??)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!