Update OOP/Java/Lab/Week9/palin_alpha_rev_concat.java

This commit is contained in:
Aadit Agrawal 2024-10-14 09:46:21 +05:30
parent c910a492db
commit 0bdd6abbbc

View File

@ -43,7 +43,7 @@ class palin_alpha_rev_concat{
String str=in.nextLine();
char contin='y';
while(contin=='y'){
System.out.println("What do you want to do?1 for checking palindrome,2 for alphabetic,3 for reversing,4 for concatinatig with reverse");
System.out.println("What do you want to do? 1. Check for Palindrome; 2. Write in an alphabetic order; 3. Reverse the String; 4. Concatenate with reversed");
int choice=in.nextInt();
switch(choice)
{