diff --git a/Day0-HelloWorld/C++/main_kunal.cpp b/Day0-HelloWorld/C++/main_kunal.cpp new file mode 100644 index 0000000..d9a828f --- /dev/null +++ b/Day0-HelloWorld/C++/main_kunal.cpp @@ -0,0 +1,11 @@ +#include + +using namespace std; + +int main() { + string input_string; + getline(cin, input_string); + cout << "Hello, World." << endl; + cout << input_string; + return 0; +} diff --git a/Day6-Revision/Cpp/main.cpp b/Day6-Revision/Cpp/main.cpp new file mode 100644 index 0000000..3a3b62e --- /dev/null +++ b/Day6-Revision/Cpp/main.cpp @@ -0,0 +1,40 @@ +#include +#include +#include +#include +#include +using namespace std; + + +int main() { + int T; + string str; + char odd[5000]; + char even[5000]; + cin>>T; + while (T > 0) { + cin >> str; + for(int i=0;i