Advertisement
Saleh127

Untitled

Apr 12th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5. string a;
  6. int i,b=0;
  7. cin>>a;
  8. for(i=0; i<a.size(); i++)
  9. {
  10. if(a[i]=='7')
  11. b=1;
  12. }
  13. if(b==1)
  14. {
  15. printf("Yes\n");
  16. }
  17. else
  18. printf("No\n");
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement