Cody

Problem 44623. Basic matlab numeric and string manipulations

If entered input (n) is numeric , compute its log to the base (n+2) ,

if it is a lower case alphabet, convert it to its numeric ascii value ,

if it is an upper case character, create a string with '!' concatenated to the value 'n' Example: 'A' will become 'A!'

else return the input as is

Solution Stats

60.0% Correct | 40.0% Incorrect
Last solution submitted on Mar 04, 2019