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/Day5-Loops/Cpp/main.cpp b/Day5-Loops/Cpp/main.cpp new file mode 100644 index 0000000..3fbd456 --- /dev/null +++ b/Day5-Loops/Cpp/main.cpp @@ -0,0 +1,17 @@ +#include + +using namespace std; + + + +int main() +{ + int n; + cin >> n; + cin.ignore(numeric_limits::max(), '\n'); + int i; + for(i=1;i<=10;i++) + cout<