martes, 15 de octubre de 2013

vector 4

#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    int vec[20],l,s,;
    for(l=0;l<=19;l++)
    { cout<<"Dame un numero";
    cin>>vec[l];
    }
    for(s=0;s<=19;s++)
    { if(s>35)
    {cout<<vec[s];
    }
    }
    system("PAUSE");
    return EXIT_SUCCESS;
}

No hay comentarios:

Publicar un comentario