Todos pa

Solo disponible en BuenasTareas
  • Páginas : 3 (503 palabras )
  • Descarga(s) : 0
  • Publicado : 11 de mayo de 2011
Leer documento completo
Vista previa del texto
SIGNO ZODIACAL (CON SWITCH TOTALMENTE)
/*Este programa muestra el signo zodiacal de una persona. Para ello el usuario debe introducir únicamente el día y el mes de nacimiento y el programadeterminará inmediatamente el signo zodiacal de la persona.*/
//muestra el signo zodiacal
#include
#include
#include
#include
#include
//Colores para fondos
#define BG_BLACK (0) //0
#defineBG_NAVY (16) //BACKGROUND_BLUE
#define BG_GREEN (32) //BACKGROUND_GREEN
#define BG_TEAL (48) //BACKGROUND_BLUE | BACKGROUND_GREEN
#define BG_MAROON (64) //BACKGROUND_RED
#define BG_PURPLE (80)//BACKGROUND_BLUE | BACKGROUND_RED
#define BG_OLIVE (96) //BACKGROUND_GREEN | BACKGROUND_RED
#define BG_SILVER (112) //BACKGROUND_BLUE | BACKGROUND_GREEN | BACKGROUND_RED
#define BG_GRAY (128)//BACKGROUND_INTENSITY
#define BG_BLUE (144) //BACKGROUND_BLUE | BACKGROUND_INTENSITY
#define BG_LIME (160) //BACKGROUND_GREEN | BACKGROUND_INTENSITY
#define BG_CYAN (176) //BACKGROUND_BLUE |BACKGROUND_GREEN | BACKGROUND_INTENSITY
#define BG_RED (192) //BACKGROUND_RED | BACKGROUND_INTENSITY
#define BG_MAGENTA (208) //BACKGROUND_BLUE | BACKGROUND_RED | BACKGROUND_INTENSITY
#define BG_YELLOW (224)//BACKGROUND_GREEN | BACKGROUND_RED | BACKGROUND_INTENSITY
#define BG_WHITE (240) //BACKGROUND_BLUE | BACKGROUND_GREEN | BACKGROUND_RED | BACKGROUND_INTENSITY
//Colores para letras
#defineFG_BLACK (0) //0
#define FG_NAVY (1) //FOREGROUND_BLUE
#define FG_GREEN (2) //FOREGROUND_GREEN
#define FG_TEAL (3) //FOREGROUND_BLUE | FOREGROUND_GREEN
#define FG_MAROON (4) //FOREGROUND_RED
#defineFG_PURPLE (5) //FOREGROUND_BLUE | FOREGROUND_RED
#define FG_OLIVE (6) //FOREGROUND_GREEN | FOREGROUND_RED
#define FG_SILVER (7) //FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED
#define FG_GRAY( //FOREGROUND_INTENSITY
#define FG_BLUE (9) //FOREGROUND_BLUE | FOREGROUND_INTENSITY
#define FG_LIME (10) //FOREGROUND_GREEN | FOREGROUND_INTENSITY
#define FG_CYAN (11) //FOREGROUND_BLUE |...
tracking img