karlangadas

avance ananagrama

Aug 26th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.39 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. /*
  5.  *
  6.  */
  7. const int MAX=30;
  8.  
  9.  
  10. int main() {
  11.     //Leyendo las palabras del diccionario
  12.     char array[MAX];
  13.     int n,i,j;
  14.     n=-1;
  15.     do{
  16.         scanf("%c",&array[n]);
  17.         n++;
  18.     }while(array[n]=="#");
  19.     n--;
  20.    
  21.     for(i=0; i<n,i++){
  22.         for(j=i;j<n-1;j++){
  23.             if lenght
  24.         }
  25.     }
  26.     return 0;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment