Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example,
s='achyuta'
output='AcHyUtA'
5 years ago
Solved
Finding sum of even numbers in a vector.
Find the sum of all the even numbers present in the input vector x.
Examples:
Input x = [1 2 3 4]
Output y is 6
Input...
5 years ago
Solved
Pattern Sum
Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as:
k...