Guest User

Untitled

a guest
Jul 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Pila p,q;
  2. crearPila(p);
  3. crearPila(q);
  4. tipobase(e);
  5. tipobase(f);
  6.  
  7.  
  8. e=tope(p);
  9. f=base(q);
  10. if(tope(p)==base(q)){
  11.  
  12. while(pilavacia(p)==false){
  13.  
  14. apilar(q,e);
  15. desapilar(p);
  16.  
  17. }
  18. printf("si es palindromo");
  19. }else{
  20. printf("la wea no es palindromo");
  21. }
  22. }
Add Comment
Please, Sign In to add comment