PrakritiPatel / Contribute

1 stars 3 forks source link

A simple Java program #5

Closed Anush0108 closed 1 month ago

Anush0108 commented 1 month ago

This pull request adds a simple Java program that reverses a string entered by the user. The program demonstrates:

  1. How to use the Scanner class to get user input
  2. Basic string manipulation using the StringBuilder class
  3. How to reverse a string and output the result to the console

The code is written with clear comments to guide beginners through the steps. It serves as a useful introductory example for new Java learners, helping them understand string manipulation in Java.

PrakritiPatel commented 1 month ago

Hi @Anush0108 , Thanks for contributing! Please give the repo a star.