diff --git a/C++/55 sol by PM001cpp b/C++/55 sol by PM001cpp new file mode 100644 index 0000000..dec2b42 --- /dev/null +++ b/C++/55 sol by PM001cpp @@ -0,0 +1,17 @@ +#include +using namespace std; +int main() +{ + string s; + //alloting memory to store a string + cout<<"Enter a string: "<>s; //taking string from user + //now we use a loop to find out the non alphabets and we would simply ignore them and only include ////alphabets in our new string, whose name is final! + string final=""; + for(long long i=0;i