Saved Bookmarks
| 1. |
Write a user defined 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" |
|
Answer» (I)number (iii) formula |
|