jeudi 27 août 2020

Java programming for interchanging two consecutive letters [closed]

Write a program in JAVA that will accept a word of even length and create a new word by interchanging two consecutive letters of the word.

Sample Input: PROGRAMS Sample Output: RPGOARSM

Aucun commentaire:

Enregistrer un commentaire