saigecc14
12.07.2019 •
Computers and Technology
J'dean is a team lead at a car wash. he wrote a memo to the employees, explaining some upcoming promotions, but j'dean didn't fully understand how the promotions would work himself. he didn't have time to get the information he needed to fully explain the promotions, but he thought some information was better than none. unfortunately, the memo was confusing and disorganized. j'dean's memo has the characteristics of communication. a.)effective b.)ineffective c.)barriers to d.)workplace
Solved
Show answers
More tips
- F Family and Home How to Quickly and Effectively Remove Gum from Clothing?...
- A Auto and Moto How to choose the right drive for your BMW...
- L Leisure and Entertainment How to Choose the Perfect Gift for Men on February 23rd?...
- H Health and Medicine How to Treat Whooping Cough in Children?...
- H Health and Medicine Simple Ways to Lower Cholesterol in the Blood: Tips and Tricks...
- O Other How to Choose the Best Answer to Your Question on The Grand Question ?...
- L Leisure and Entertainment History of International Women s Day: When Did the Celebration of March 8th Begin?...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
- A Art and Culture When Will Eurovision 2011 Take Place?...
- S Style and Beauty How to Choose the Perfect Hair Straightener?...
Ответ:
His memo is ineffective since it was confusing and disorganized
Ответ:
is ineffective since it was confusing and disorganized
Ответ:
Answer
//include header files
#include<iostream>
#include<string>
#include<cstdlib>
#include<cmath>
using namespace std;
string sWord[]={"he", "him","his"};
string sword1[]={"she or he","her or him", "hers or his"};
//Return true if ch is alphabet
bool IsAlphabet(char ch)
{
if(((ch>='A') &&( ch<='Z'))||((ch>='a') && (ch<='z')))
return true;
return false;
}
//replace gender word
string replaceStrWord(string word)
{
string rep="";
for(int kk=0;kk<3;kk++)
{
if(sWord[kk]==word)
{
rep=sword1[kk];
}
}
if(rep.compare("")==0)
rep=word;
return rep;
}
//main()
int main()
{
string output="";
char next_symbol;
string word="";
//Repeat until user done;
while(true)
{
output="";
//Loop to get entire sentence
do
{
word="";
//Loop to get word
while(true)
{
cin.get(next_symbol);
if(IsAlphabet(next_symbol))
{
word+=next_symbol;
}
else
{
break;
}
};
if(word.compare("done")==0)
break;
output=output+replaceStrWord(word);
output=output+next_symbol;
}while(next_symbol!='\n');
cout<<"Replaced String:"<<output<<endl;
string userdone="";
cout<<"Do u wantto continue:";
cin>>userdone;
if(userdone=="no")
break;
cin.ignore();
}
return 0;
}