logo

Crowdly

[ Average expected time to solve this question: 7 min] a) Create a function th...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

[Average expected time to solve this question: 7 min]

a) Create a function that, given a string, returns the same string with first and last letter swapped.

Example "cats and dogs" ---»"sats and dogc"

b) Create a Sub to ask the user to enter a string and, using the previous function, shows in a message the string with first and last letter swapped.

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.lisboa.ucp.pt?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!