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 Solvers190
Suggested Problems
-
1953 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1697 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10308 Solvers
-
746 Solvers
-
141 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!