Tarea 3 III Parcial
Tarea 3 III Parcial
Tarea 3 III Parcial
int main()
{
int n=5, y=3, *yPtr, k;
int a[]={4,3,2,1,3};
yPtr=&y;
k=bLin(a,n,yPtr);
yPtr=&a[k];
yPtr--;
cout<<*yPtr<<endl;
return 0;
}
#include <iostream>
using namespace std;
int main(){
char c[20];
cin>>c;
inCad(c);
cout<<c<<endl;
return 0;
}
#include <iostream>
using namespace std;
int main(){
char a[20];
cin>>a;
if(Pal(a)){
cout<<"Si Es"<<endl;
}else{
cout<<"No Es"<<endl;
}
return 0;
}