Question
Hello, I need help solving this Lab simulation, It uses Acronym for function statements and I am very new at coding on so I need
Hello, I need help solving this Lab simulation, It uses Acronym for function statements and I am very new at coding on so I need help solving it. It is very difficult. It is very confusing since the there are multiple inputs and on can only code it once.
An acronym is a word formed from the initial letters of words in a set phrase. 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 functionstring 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.
#include
#include
#include
using namespace std;
/* Define your function here */
int main() {
/* your code here. */
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started