domingo, 8 de septiembre de 2013

https://docs.google.com/file/d/0B5u4Cp3Z_6pyQlBUNG1rc2k5WmM/edit?usp=sharing
https://docs.google.com/file/d/0B5u4Cp3Z_6pyU3ZoSlotUkxfTFU/edit?usp=sharing
https://docs.google.com/file/d/0B5u4Cp3Z_6pyUVVDc09SWC0zUjg/edit?usp=sharing
https://docs.google.com/file/d/0B5u4Cp3Z_6pyUDhFaGhMcjdvVEk/edit?usp=sharing
https://docs.google.com/file/d/0B5u4Cp3Z_6pyazJrSGpHemllX0k/edit?usp=sharing
https://docs.google.com/file/d/0B5u4Cp3Z_6pyWDRBVjJKWGRXZGM/edit?usp=sharing
https://docs.google.com/file/d/0B5u4Cp3Z_6pyaXBHU1FlS01JdTQ/edit?usp=sharing
#include <iostream>
using namespace std;
void impresion(int);

int main(){
int p,n=0;

impresion(1);
for(p=1;p<=12;p++){
n+=2;
impresion(n);
}
system("pause");
return 0;
}

void impresion(int x){
cout<<endl;
for(int i=1;i<=x;i++)
cout<<"*";
}

martes, 21 de mayo de 2013