+ 15

[ ASSIGNMENT ] Swap Case ( Any language )

Make a program that takes a String from the user and swaps the case of each character ( that is from Lower case to Upper and vice-versa ). Example >>> 1.Input : SOLOlearn 1.Ouput : soloLEARN 2. Input : aArOn sToNe 2. Output : AaRoN StOnE Any language is welcome. Try your best. Thank you !! Aaron Stone. Here's my try in Java ! https://code.sololearn.com/cxi5Igd2PigC/?ref=app

7th Apr 2018, 6:04 AM
Aaron Stone
Aaron Stone - avatar
37 Respostas
+ 12
https://code.sololearn.com/cXOIP88tv3ld/?ref=app
10th Apr 2018, 12:26 PM
LukArToDo
LukArToDo - avatar
13th Apr 2018, 11:48 AM
MeanMachine
MeanMachine - avatar
+ 22
https://code.sololearn.com/c86b1b2Xx9V1/?ref=app
7th Apr 2018, 8:26 AM
Danijel Ivanović
Danijel Ivanović - avatar
10th Jun 2018, 11:27 PM
Uni
Uni - avatar
+ 12
https://code.sololearn.com/c3QwIF0HJSH3/?ref=app
10th Apr 2018, 12:26 PM
LukArToDo
LukArToDo - avatar
8th Apr 2018, 5:34 PM
Med Arezki
Med Arezki - avatar
+ 8
https://code.sololearn.com/cklXyIsO9l7Z/?ref=app
23rd Jun 2018, 1:52 PM
Muhammad Hasan
Muhammad Hasan - avatar
7th Apr 2018, 7:23 AM
Bishal Sarang
Bishal Sarang - avatar
+ 7
https://code.sololearn.com/cUyvJldbJl5m/?ref=app
7th Apr 2018, 3:32 PM
Coder++
Coder++ - avatar
9th Apr 2018, 6:54 PM
Shobikaj
Shobikaj - avatar
+ 5
https://code.sololearn.com/cQHR44zK1n5L/?ref=app
17th Apr 2018, 1:21 PM
Aman Soni
Aman Soni - avatar
+ 5
Simon Nikiforov It's a swap case not reciprocal letter ._.
26th Jun 2018, 11:45 AM
Muhammad Hasan
Muhammad Hasan - avatar
+ 4
In ruby puts gets.chomp.swapcase https://code.sololearn.com/cJ44HNSQ6ZyT
7th Apr 2018, 6:42 AM
Bishal Sarang
Bishal Sarang - avatar
+ 4
nice but seriously,how many can do this without using the cheap "swapcase" method?
7th Apr 2018, 6:54 AM
į Œį ŒCode X
į Œį ŒCode X - avatar
+ 4
https://code.sololearn.com/cC6lCIOrN53i/?ref=app someone did this challenge before, so here's my code for that
7th Apr 2018, 8:45 AM
hinanawi
hinanawi - avatar
7th Apr 2018, 1:04 PM
Mitali
Mitali - avatar
+ 4
https://code.sololearn.com/cC4WXdrGz5vr/?ref=app
8th Apr 2018, 4:58 PM
CalviÕ²
CalviÕ² - avatar
10th Apr 2018, 12:13 AM
Memphis Reigns
Memphis Reigns - avatar
+ 3
Didn't know it was this simple in Python ! @Jan Markus
7th Apr 2018, 6:14 AM
Aaron Stone
Aaron Stone - avatar