Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pallindrome number using recursion java #2752

Open
NiharikaPanda09 opened this issue Oct 15, 2023 · 8 comments · May be fixed by pr4jwal-19/HacktoberFest#1
Open

Pallindrome number using recursion java #2752

NiharikaPanda09 opened this issue Oct 15, 2023 · 8 comments · May be fixed by pr4jwal-19/HacktoberFest#1

Comments

@NiharikaPanda09
Copy link

I want to contribute pallindrome number using recursion java please @tarunsinghofficial assign it to me

@Shreya1chaturvedi
Copy link

hii can i contribute to ur problem

@pr4jwal-19 pr4jwal-19 linked a pull request Oct 18, 2023 that will close this issue
@NiharikaPanda09
Copy link
Author

i raised this issue no one assigned me..

@NiharikaPanda09
Copy link
Author

please assign this issue to me please @tarunsinghofficial

@ABHINAV0307
Copy link

assign me
CODE:
import java.io.*;

class GFG
{

static int rev(int n, int temp)
{

if (n == 0)
    return temp;

temp = (temp * 10) + (n % 10);

return rev(n / 10, temp);

}

public static void main (String[] args)
{
int n = 121;
int temp = rev(n, 0);

if (temp == n)
    System.out.println("yes");
else
    System.out.println("no" );

}
}

@Shreya1chaturvedi
Copy link

Shreya1chaturvedi commented Oct 21, 2023 via email

@HarshitaShrivas66
Copy link

Hello can you plz accept and merge my pull request

@janhavibagret
Copy link

Can you please assign me this issue? I would like to work on it.

@Pranika-Kalimuthu
Copy link

I will take it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants