Given a string value word, set the lastWord variable to: the upper-cased string stored in word if the word starts with t
Posted: Tue Jul 12, 2022 8:27 am
Given a string value word, set the lastWord variable to:
the upper-cased string stored in word if the word starts withthe letter p and has a length of 10
the unmodified string stored in word if it is any other numberor does not start with a p
Given a string value word, set the variable to: - the upper-cased string stored in word if the word starts with the letter p and has a length of 10 - the unmodified string stored in word if it is any other number or does not start with a p
the upper-cased string stored in word if the word starts withthe letter p and has a length of 10
the unmodified string stored in word if it is any other numberor does not start with a p
Given a string value word, set the variable to: - the upper-cased string stored in word if the word starts with the letter p and has a length of 10 - the unmodified string stored in word if it is any other number or does not start with a p