Computer Science, asked by maudeb82, 5 months ago

3. Write a program in Java to accept a word. Pass it to a function magic(String str). The
function checks the string for the presence of consecutive letters. If two letters are
consecutive at any position then the function prints "It is a magic string", otherwise
it prints "It is not a magic string"​

Answers

Answered by 100lankidhruv2004
1

Answer:

answer is on Google plz ask it from there

Answered by harshsolqnki2219
1

like my answer

first follow me

and

search it in google form

Similar questions