Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Pila p,q;
- crearPila(p);
- crearPila(q);
- tipobase(e);
- tipobase(f);
- e=tope(p);
- f=base(q);
- if(tope(p)==base(q)){
- while(pilavacia(p)==false){
- apilar(q,e);
- desapilar(p);
- }
- printf("si es palindromo");
- }else{
- printf("la wea no es palindromo");
- }
- }
Add Comment
Please, Sign In to add comment