Problem 2140. Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example,
s='achyuta'
output='AcHyUtA'
Update - Test cases added at 09-09-2022
Solution Stats
Problem Comments
-
1 Comment
goc3
on 31 May 2017
Additional test cases have been added.
Solution Comments
Show commentsProblem Recent Solvers252
Suggested Problems
-
Project Euler: Problem 10, Sum of Primes
1930 Solvers
-
515 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1183 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
824 Solvers
-
483 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!