Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int i=0; i<num; )
- {
- nombres[i][0]=priletra;
- longi = rand()%6 + 3; // generar longitud
- for(int j=0; j<longi; j++)
- {
- do
- car = rand()%26 + 'a'; // generar letra
- while((j==vocales && j+1==vocales && j+3==vocales || j!=vocales && j+1!= vocales);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement