Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7 . 1 0 LAB: Acronyms An acronym is a word formed from the initial letters of words in a set phrase. Write a program

7.10 LAB: Acronyms
An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is a phrase and whose output is
an acronym of the input. Append a period (.) after each letter in the acronym. If a word begins with a lower case letter, don't include that
letter in the acronym. Assume the input has at least one upper case letter.
Ex: If the input is:
Institute of Electrical and Electronics Engineers
the output is:
I.E.E.E.
Ex: If the input is:
Association for computing MACHINERY
the output is:
A.M.
Although the letters ACHI NERY in MACHINERY are upper case, those letters are omitted for being a part of the word MACHINERY.
Hint: Use isupper() to check if a letter is upper case.
547896.3737012.q3zqy
LAB
7.10.1: LAB: Acronyms
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Issues In Database Management A Refernce For The Thinking Practitioner

Authors: Fabian Pascal

1st Edition

0201485559, 978-0201485554

More Books

Students also viewed these Databases questions

Question

outline some of the current issues facing HR managers

Answered: 1 week ago