Write a program that displays a single character in all possible combinations of foreground and background colors

Question:

Write a program that displays a single character in all possible combinations of foreground and background colors (16 x 16 = 256). The colors are numbered 0 to 15, so you can use a nested loop to generate all possible combinations.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: