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 Solvers189
Suggested Problems
-
Determine whether a vector is monotonically increasing
19552 Solvers
-
It dseon't mettar waht oedrr the lrettes in a wrod are.
1671 Solvers
-
Number of 1s in the Binary Representation of a Number
438 Solvers
-
Omit columns averages from a matrix
579 Solvers
-
Generate N equally spaced intervals between -L and L
845 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!