Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions