17.5.11

Programa ciclico 10



// fiestooon locoo!!


#include <iostream>
#include <conio.h>
#include <stdio.h>
#include <dos.h>
#include <ctime>


using namespace std;


int i;
int j;



int main()
{




for(j=0;j<=5;j++){
    cout<<" punchis punchiis!!"<<endl;

        clock_t delay = 0.1 * CLOCKS_PER_SEC;
        clock_t start = clock();
        while (clock() - start < delay );

    cout<<"muchos programas "<<endl;


    for(i=0;i<=2;i++){

    cout << "    muuucchoooss \a ";

        clock_t delay = 1 * CLOCKS_PER_SEC;

        clock_t start = clock();
        while (clock() - start < delay );

    }


    cout<<"muchoos programaaaas  "<<endl<<endl;


    }
cout<<" "<<endl;
cout << "                  xD "<<endl;

getch();

    return 0;


}

No hay comentarios:

Publicar un comentario