#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <windows.h>
using namespace std;
gotoxy(int x,int y){
HANDLE hcon;
hcon=GetStdHandle(STD_OUTPUT_HANDLE);
COORD dwPos;
dwPos.X=x;
dwPos.Y=y;
SetConsoleCursorPosition(hcon,dwPos);
}
int i, j,b, k, m, tronco;
int main (){
char c;
c=0;
cout<<endl<<"FELIZ NAVIDAD"<<endl;
for (i=0,j=13;i<13;i++,j--){
for(k=0;k<j;k++)
cout<<" ";
for(m=13;m>=j;m--){
cout<<"*";
cout<<c;
}
cout<<endl;
}
tronco=(13-13%3)/3;
for(j=1;j<=tronco;j++){
for(i=1; i<13; i++)
cout<<" ";
cout<<"***"<<endl;
system("color 2");
}
system("pause");
for(int i=0; i<=50; i++){
gotoxy(b,50);
b=b+1;
cout<<" Angel Edwin Ruelas Valencia 312 "<<endl;
system("cls");
}
system("pause");
return 0;
}
No hay comentarios.:
Publicar un comentario