Question: The following program, write the code in C++, please do it well, make sure you show all steps and how you did it. Please make
The following program, write the code in C++, please do it well, make sure you show all steps and how you did it. Please make the code such that I can copy paste it. Also please show the output as well, as sometimes the code is given but there is not a correct output, so show a screenshot of your output and that it matches everything asked in the question.
The following is the introduction to the assignment that is required for 4 tasks but you only have to do the first task right now. Please follow all these directions, and make sure all files are present and list the names of the files you made and the code for it including the makefile:
For this assignment, you will have to create a Makefile to build your project. It should create a single executable named main.
The main function should call all the functions that accomplish the tasks. Those functions may not be written in main.cpp but rather you should create at least one additional .cpp/.h file(s).
Write a function for each of the tasks. The functions should accept parameters for the assorted dimensions and should return a std::string with a string representing the output. Recall that you can embed a newline in a string to move to the next line.
The main function should call each task function one or more times and print out the results to show that everything works.
For example, for task A you might write a routine with a prototype std::string box(int width, int height).
You might test it from main as follows:

Note: Remember that your program should not ask for any keyboard input. When run it should clearly show that all tasks are implemented and work.
IMPORTANT: NO USER/KEYBOARD INPUT, REMEMBER THAT WHEN MAKING THE CODE
Following all directions above, you have to do this for the first task:

Please follow all directions well, make all the files and functions as asked and make sure when ran together it runs, list the name of the files and the code following it beneath when you send it. There should be the makefile, the main.cpp, the box.cpp, and any additional header files needed. Follow all directions well, please
// more code up here std::string result; result = box (3,5); std: : cout "box (3,5): "; std: :cout result std: : cout " ------------- "; // seperator // more tests to show that box works fully could be added // more code down here Nrite a program box.cpp that asks the user to input width and height and prints a solid ectangular box of the requested size using asterisks. Also, print a line between user input and the printed shape (to separate input from output). Example: Input width: 7 Input height: 4 Shape: tint: - First find how to print one row of stars (print the asterisk character times followed by end-of-line). - Then, once you know how to print one line of stars, repeat it height times (using a loop)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
