Computer Science, asked by muakanshakya, 1 year ago

\huge{\bold{\underline{Heya!!}}}
___________________________

Ques:- Wap in Java to input a string .Print the new String after converting every Alternate letter to uppercase and the next immediate letter to lowercase .The special characters remain same.


Sample Input:- Delhi Public School

Sample Output:- DeLhI pUbLiC sChOoL

__________________________


❌Spammers be away


Thanks in advance ✔️


Anonymous: in my code
Anonymous: brainly does not even allow a JAVA code to run !

Answers

Answered by Anonymous
10

The code is in the attachment............

If its wrong plz comment

Please zoom the attachment

Hope it helps



Attachments:

Anonymous: is it a correct code?
Anonymous: welo!
Answered by Anonymous
0

Answer:

HEY MATE HERE IS YOUR ANSWER-:

Attachments:
Similar questions