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 Solvers261
Suggested Problems
-
Flag largest magnitude swings as they occur
685 Solvers
-
Determine the number of odd integers in a vector
795 Solvers
-
Make a vector of prime numbers
950 Solvers
-
397 Solvers
-
146 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!