Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream.h>
- #include<fstream.h>
- int main(){
- ifstream f1("BAC.IN");
- int x,n=0;
- while(f1>>x)
- if(x%2!=0)
- n=x;
- if(n==0)
- cout<<"NU EXISTA";
- else
- cout<<n;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement