Question
Create a hierarchy chart showing the logical components of your program. Modularize your code according to your chart using the practices learned this week. Your
Create a hierarchy chart showing the logical components of your program. Modularize your code according to your chart using the practices learned this week. Your menu should now call individual modules to do the work of the program. with the following code.
#include
#include
using namespace std;
int main()
{
const int a = 3;
string word[a] = { "apple","ball","cat" };
string nword[a] = { "lppea","lalb","cta" };
string j;
int point;
int p = 0;
int ctr = 0;
int missingLetter, numberFingers, userName;
int favoriteColor, sAnimals1, sshapes2, sMachines3;
cout << "Hi Whats your name? " << endl
cin >> userName >> endl;
// asking childs name?
cout << userName << "Nice to meet you, My name is Raphie";
cout << "BASIC" << endl;
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