diff --git a/challengers-list.md b/challengers-list.md index 2fb6f60ea..cda7a7358 100644 --- a/challengers-list.md +++ b/challengers-list.md @@ -2,3 +2,4 @@ 1. [Mrinal](https://github.com/mrinal1224) 2. [Shivay](https://github.com/shivaylamba) 3. [Raghav](https://github.com/raghavdhingra) +4. [TRIDIB](https://github.com/Mrjoy832) \ No newline at end of file diff --git a/contributors/Mrjoy832/Mrjoy832.md b/contributors/Mrjoy832/Mrjoy832.md new file mode 100644 index 000000000..51309eb2f --- /dev/null +++ b/contributors/Mrjoy832/Mrjoy832.md @@ -0,0 +1,8 @@ +--- +name: Tridib Bag +github_user_name: Mrjoy832 +url_of_github_issue: https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/287 +your_favroite_programming_language: C++ +your_hosted_github_pages_link: https://mrjoy832.github.io/Meditation-App/ +your_hosted_github_pages_repository_link: https://github.com/Mrjoy832/Meditation-App +--- \ No newline at end of file diff --git a/contributors/Mrjoy832/git-solutions.md b/contributors/Mrjoy832/git-solutions.md new file mode 100644 index 000000000..1e370542b --- /dev/null +++ b/contributors/Mrjoy832/git-solutions.md @@ -0,0 +1,7 @@ +# Challenge 18 - 2 Gists + +- [C++ Coding](https://gist.github.com/Mrjoy832/df6bb16f3bb32faaaa5f68c9150477c8) +- [Code Snippet](https://gist.github.com/Mrjoy832/bcfb0aeba9539152f70e3a8b0b93295e) + + + diff --git a/contributors/Mrjoy832/pattern.cpp b/contributors/Mrjoy832/pattern.cpp new file mode 100644 index 000000000..7691c321f --- /dev/null +++ b/contributors/Mrjoy832/pattern.cpp @@ -0,0 +1,20 @@ +/* Copyright (c) 2022, + * All rights reserved + */ +#include + +int main() { + int rows; + + std::cout << "Enter number of rows: "; + std::cin >> rows; + + for (int i = rows; i >= 1; --i) { + for (int j = 1; j <= i; ++j) { + std::cout << j << " "; + } + std::cout << std::endl; + } + + return 0; +}