please can you make a flowchart of the c++ program code also could you please edit my comment to a more professional one thank you ( i added a screenshot version just incase you wanted it that way) #include #include int main() { std::string noun, verb, adjective;// to identify the noun, verb, adjective and put it into the code std::cout << "Please enter a noun: ";// to prompt the user for the noun std::cin >> noun;// helps the user to put the typed in noun into the sentence std::cout << "Please enter a verb: ";// to prompt the user for the verb std::cin >> verb;// helps the user to put the typed in noun into the sentence std::cout << "Please enter an adjective: ";// to prompt the user for the adjective std::cin >> adjective;// helps the user to put the typed in adjective in the sentence std::cout << "Once upon a time there was a student named Jesse. "; std::cout << "They had an old, low-res " << noun << ", ";// to put the noun in the sentence std::cout << "and they kept failing the onboarding exam for ProctorTrack. "; std::cout << "They " << verb << " a friend for help, ";// to put the typed in verb into the sentence std::cout << "and the friend said, \"Didn't you know that " << noun << "s "; std::cout << "vary widely in resolution? Borrow my " << adjective << " " << noun << ", "; std::cout << "and you will do fine.\"" << std::endl; return 0; }
please can you make a flowchart of the c++ program code also could you please edit my comment to a more professional one thank you ( i added a screenshot version just incase you wanted it that way)
#include <iostream>
#include <string>
int main() {
std::string noun, verb, adjective;// to identify the noun, verb, adjective and put it into the code
std::cout << "Please enter a noun: ";// to prompt the user for the noun
std::cin >> noun;// helps the user to put the typed in noun into the sentence
std::cout << "Please enter a verb: ";// to prompt the user for the verb
std::cin >> verb;// helps the user to put the typed in noun into the sentence
std::cout << "Please enter an adjective: ";// to prompt the user for the adjective
std::cin >> adjective;// helps the user to put the typed in adjective in the sentence
std::cout << "Once upon a time there was a student named Jesse. ";
std::cout << "They had an old, low-res " << noun << ", ";// to put the noun in the sentence
std::cout << "and they kept failing the onboarding exam for ProctorTrack. ";
std::cout << "They " << verb << " a friend for help, ";// to put the typed in verb into the sentence
std::cout << "and the friend said, \"Didn't you know that " << noun << "s ";
std::cout << "vary widely in resolution? Borrow my " << adjective << " " << noun << ", ";
std::cout << "and you will do fine.\"" << std::endl;
return 0;
}
Step by step
Solved in 2 steps