Q&A Discussions
Write a static method called weave that that takes two integers as parameters and that returns the result of weaving their digits together to form a single integer. Two numbers x and y are weaved together as follows. The last pair of digits in the result should be the last digit of x followed by the last digit of y. The second-to-the-last pair of digits in the result should be the second-to-the-last digit of x followed by the second-to-the-last digit of y. And so on.
0 Votes
13 Answersa)Write a function ‘rev’ which returns the reverse of the given integer. Function isPalin takes an integer as argument and checks whether it is palindrome or not using rev function. Using isPalin write a main function to accept n integers and display number of palindrome numbers found.
b)write a program to find the possible permutations of the given word .
0 Votes
2 AnswersHot today
Activities on sololearn
2 Votes
What is problem in this code
0 Votes
playground input
0 Votes
Html issue
1 Votes
How I can use div
0 Votes
TIPS From Veterans
1 Votes
Can you help me ?
0 Votes
App development 🔥☝️
1 Votes
Playground input
0 Votes