Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Looking at this program..... that creates the character X using pluses and minus

ID: 673689 • Letter: L

Question

Looking at this program.....

that creates the character X using pluses and minuses. The width of X is 6-characters and its height is 6 characters and the stroke width is one character. The background is 10 characters by 10 characters. My job is to modify the program so that it produces a square of size 8 characters by 8 characters using pluses and minuses. The stroke width of the square should be two characters. The background should be of size 12x12 characters. It is an ASC|| art for a c++ program....Help please

Explanation / Answer

#include using namespace std; int main() { for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { if (i > 0 && i < 9) { if (j == 2 || j == 8) { cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote