|
| 1 | +# [4th problem in the 30-Days-of-Code-Hackerrank Challenge](https://www.hackerrank.com/challenges/30-conditional-statements/problem?isFullScreen=true) |
| 2 | +## This repository contains the codes, I have been submitting in the 30 Days of Code program by Hackerrank. |
| 3 | + |
| 4 | +## Task |
| 5 | +Given an integer, ```n```, perform the following conditional actions: |
| 6 | + - If is odd, print ```Weird```. |
| 7 | + - If is even and in the inclusive range of to , print ```Not Weird```. |
| 8 | + - If is even and in the inclusive range of to , print ```Weird```. |
| 9 | + - If is even and greater than , print ```Not Weird```. |
| 10 | +Complete the stub code provided in your editor to print whether or not ```n``` is weird. |
| 11 | + |
| 12 | +The problem should follow the following format: |
| 13 | +<img src="https://github.com/AdityaSeth777/30-Days-of-Code-Hackerrank/blob/main/3%20-%20Intro%20to%20Conditional%20Statements/3%20day.png"> |
| 14 | + |
| 15 | +## Explanation |
| 16 | +<img src="https://github.com/AdityaSeth777/30-Days-of-Code-Hackerrank/blob/main/3%20-%20Intro%20to%20Conditional%20Statements/3%20day%20exp.png"> |
| 17 | + |
| 18 | +## Logic |
| 19 | +It will be updated after uploading all the required details in all the questions in the repo. |
| 20 | + |
| 21 | +## FAQ |
| 22 | +- How to stop the script? Ctrl+C (control+C for Mac) |
| 23 | +- For any other problems, feel free to raise an issue. |
| 24 | + |
| 25 | +## Contributing |
| 26 | +Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. |
| 27 | + |
| 28 | +Please make sure to update tests as appropriate. |
| 29 | + |
| 30 | +## License |
| 31 | +[MIT License © Aditya Seth](https://github.com/AdityaSeth777/30-Days-of-Code-Hackerrank/blob/main/License) |
| 32 | + |
| 33 | +## What next ? |
| 34 | +- I will be working on completing this wonderful bunch of programs by Hackerrank, which I will be uploading as well. |
| 35 | +- Along with that, I will be uploading other programs as well including my college assignments and other projects. |
| 36 | + |
| 37 | +## Where to contact ? |
| 38 | + |
| 39 | + |
| 40 | +## 🙋♂️ Support |
| 41 | + |
| 42 | +💙 If you like this project, give it a ⭐ and share it with friends!<br><br> |
| 43 | +[☕ Buy me a coffee](https://www.buymeacoffee.com/adityaseth) |
| 44 | + |
| 45 | +--- |
| 46 | + |
| 47 | +Made with ❤️ and C, C++, Python, Ruby, and Kotlin. <br><br> |
0 commit comments