Question: Write a Boolean function called isConsecutive that looks at a string scalar, and then determine if the string has letters occurring consecutively. The input string

Write a Boolean function called isConsecutive that looks at a string scalar, and then determine if the string has letters occurring consecutively. The input string could be any length. The function should also determine the number of alphanumerics and letters in the string. Restrictions: The function should use the internal function istprop. Hint: The break statement should be used.

Write a Boolean function called isConsecutive that looks at a string scalar,and then determine if the string has letters occurring consecutively. The inputstring could be any length. The function should also determine the number

Are the letters consecutive? Write a Boolean function called isConsecutive that looks at a string scalar, and then determine if the string has letters occurring consecutively. The input string could be any length. The function should also determine the number of alphanumerics and letters in the string. Restrictions: The function should use the internal function istprop Hint The break statement should be used. Ex: [consecutiveLetters, numberCharacters, numberLet ters] 1sConsecutive ( string) string-..123", string = = "123" consecutiveLetters logical numberCharacters = numberLetters = Ex: [consecutiveLet ters, numberCharacters, numberLetters] isconsecutive (string) >> string-"Josh2a", string = Josh2a consecutiveLetters logical numberCharacters = numberLetters- Ex

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!