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 Solvers236
Suggested Problems
-
Which values occur exactly three times?
5142 Solvers
-
Create a square matrix of multiples
482 Solvers
-
9001 Solvers
-
Cell Counting: How Many Draws?
2126 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1212 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!