Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. for(int i=0; i<num; )
  2. {
  3. nombres[i][0]=priletra;
  4. longi = rand()%6 + 3; // generar longitud
  5.  
  6. for(int j=0; j<longi; j++)
  7. {
  8. do
  9. car = rand()%26 + 'a'; // generar letra
  10.  
  11. while((j==vocales && j+1==vocales && j+3==vocales || j!=vocales && j+1!= vocales);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement