+ 20
CHALLENGE: lower to UPPER case😃
Convert all lower case to UPPER CASE😀 Here's my try in cpp: https://code.sololearn.com/cQJMruVAR1FY/?ref=app Happy Coding!😇
23 Réponses
+ 6
heres mine...
5 versions
* lower changed to upper and upper to lower *//both way conversion
input= aSDcc
output= AsdCC
https://code.sololearn.com/c91gt9G3IBO6/?ref=app
https://code.sololearn.com/c25SIS5vI0JG/?ref=app
https://code.sololearn.com/cvJv950lnmRE/?ref=app
https://code.sololearn.com/ccNfiXuIFv5a/?ref=app
https://code.sololearn.com/cBRKPKr5U4oR/?ref=app
+ 15
JavaScript:
alert(prompt("").toUpperCase());
+ 12
https://code.sololearn.com/c1EI11k3J3HL/?ref=app
+ 11
#python..
print(input().upper())
+ 10
one-liner in java.
https://code.sololearn.com/c75JeSpV6I55/?ref=app
+ 8
Here another way in Python:
https://code.sololearn.com/cmcUiy82su0V/?ref=app
+ 6
Python does it better :
https://code.sololearn.com/c2MO53K37aR5/?ref=app
+ 6
Done for another challenge actually, but this code supports the requirements for this one also.
https://code.sololearn.com/cM3qp41znqpZ/?ref=app
+ 6
This is the simplest challenge I've embarked on.nice.....
My code
https://code.sololearn.com/c3U0WeL35KXb/?ref=app
+ 6
my answer in ruby.....
print gets.chomp.upcase
+ 6
Here's my try
https://code.sololearn.com/cNWj80AYA0sE/?ref=app
+ 5
Here's my answer in C++!
https://code.sololearn.com/c7MrII1Zr1AD/?ref=app
+ 4
Here is my try in java:
https://code.sololearn.com/ce3MtI14p8cs
Happy coding!
+ 3
https://code.sololearn.com/c3Isz7q8YFDr/?ref=app
version 2
+ 2
https://code.sololearn.com/cPf6zXz10Qe8/?ref=app
This is my java code
+ 2
string = input ("write something")
string = string.upper()
print(string)
+ 2
here is it ;
https://code.sololearn.com/c6K8nB6X9JTe/?ref=app
+ 2
https://code.sololearn.com/cx9KLIm8871H/?ref=app