Challenge 13 – Draw a star in console mode in C++

Difficulty ![]() |
![]() |
This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 1999.
The source code of the challenge has been updated to modern C++, but maintaining the essence of the challenge, which its original author wanted to transmit.
Date: 17-I-2001
Created by: José Luis De la Cruz
Challenge winner: No winner
What is requested is to graph the following star in console mode:
o
o o
o o
o o o o o o o o
o MERRY o
o CHRISTMAS! o
o 2000 o
o o
o o o
o o o o
o o
o o
The only thing that is required is that the letter “S” of the word CHRISTMAS is in the center of the screen. For example, if we work on a screen with 80 columns and 25 lines, the center will be point 40, 12
Up to here it is simple, but in order that they do not take it so easy it is not possible to use “conio.h”… 🙂
AND FINALLY I CAN ONLY SAY …. BEST OF LUCK AND MAY THE BEST CODE WIN….
If you liked this challenge remember to leave a comment in our guestbook