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/Day7-Arrays/C++/main.cpp b/Day7-Arrays/C++/main.cpp new file mode 100644 index 0000000..65d66b6 --- /dev/null +++ b/Day7-Arrays/C++/main.cpp @@ -0,0 +1,15 @@ +#include + +using namespace std; + +int main() { + int N; + cin>>N; + int arr[N]; + for(int i=0;i>arr[i]; + for(int i=N-1;i>=0;i--) + cout<