subject

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. If a word begins with a lower case letter, don't include that letter in the acronym. Assume there will be at least one upper case letter in the input. If the input is Institute of Electrical and Electronics Engineers, the output should be IEEE.

Your program must define and call a function string CreateAcronym(string userPhrase) that returns the acronym created for the given userPhrase.

Hint: Refer to the ascii table to make sure a letter is upper case.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:10
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Which of the statements below describe the guidelines for the use of text in presentation programs? a. do not use numbered lists. b. fonts should be appropriate for your audience. c. limit the number of fonts you use to three or four. d. only use bulleted lists for sales promotions. e. select font sizes that are appropriate for your delivery method. f. use font colors that work well with your background. select all that apply
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Which of the following is not a “fatal four” event?
Answers: 2
question
Computers and Technology, 25.06.2019 09:20
The adbusters' image of the gap logo on the silhouette of a head most likely relays the message that: a.the man in the ad needs a hat from the gap b.consumers should be suspicious of gap ads c.gap clothes make you look intelligent d.everyone should have the gap on their minds
Answers: 1
You know the right answer?
An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose...
Questions
question
Mathematics, 03.02.2020 06:01
Questions on the website: 13722363