diff --git a/110A - Nearly Lucky Number.cpp b/110A - Nearly Lucky Number.cpp index 4e8799c..c855276 100644 --- a/110A - Nearly Lucky Number.cpp +++ b/110A - Nearly Lucky Number.cpp @@ -26,3 +26,29 @@ int main() } return 0; } +this can also be used +#include + +using namespace std; + +int main() +{ + string s; + cin>>s; + int n=s.length(); + int count=0; + for(int i=0;i