commit 706b609ce084e439986531312e7698453e49f404
parent fb7ecfbb643c69ff33ed87a6ac4ef39a28967447
Author: Amit Dutta <amitdutta4255@gmail.com>
Date: Wed, 1 Oct 2025 17:06:22 +0530
NEW_COMMIT
Diffstat:
7 files changed, 89 insertions(+), 0 deletions(-)
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
@@ -0,0 +1,17 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behavior that contributes to a positive environment include:
+
+* Using welcoming and inclusive language
+* Being respectful of differing viewpoints and experiences
+* Gracefully accepting constructive criticism
+* Focusing on what is best for the community
+* Showing empathy towards other community members
+
+This project is a personal learning project, and I ask that all interactions remain respectful and constructive. Thank you for your consideration.+
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
@@ -0,0 +1,19 @@
+# Contributing to bsc
+
+Thank you for your interest in contributing to this repository! As this is a personal learning project, I'm happy to receive feedback and suggestions.
+
+## How to Contribute
+
+1. **Fork the Repository:** Start by forking this repository to your own GitHub account.
+2. **Create a New Branch:** Create a new branch for your changes (e.g., `git checkout -b feature-my-awesome-feature`).
+3. **Make Your Changes:** Write your code, solve a problem, or add a new example.
+4. **Commit Your Changes:** Commit your changes with a clear and descriptive message.
+5. **Submit a Pull Request:** Push your branch to your forked repository and open a pull request. In the pull request description, please explain the changes you've made.
+
+## What to Contribute
+
+* **Bug Fixes:** If you find any mistakes in the code or a program that isn't working correctly.
+* **New Code Examples:** If you have a cleaner or more efficient solution to an existing problem.
+* **Documentation Improvements:** If you find a typo or a way to make the README or other files clearer.
+
+Thank you for your help!+
\ No newline at end of file
diff --git a/Letusc-exercises/luc013.c b/Letusc-exercises/luc013.c
@@ -0,0 +1,16 @@
+/* Write a program to find the absolute value
+of a number entered through the keyboard. */
+/* Author - Amit Dutta, Date - 1st OCT, 2025 */
+/* Let Us C, Chap- 3, Page - 53, Qn No.: f(d) */
+
+#include <stdio.h>
+#include <math.h>
+int main()
+{
+ double num;
+ printf("Enter the number : ");
+ scanf("%lf", &num);
+ num = abs(num);
+ printf("\nAbsolute value of the input is : %g", num);
+ return 0;
+}+
\ No newline at end of file
diff --git a/Letusc-exercises/luc013.exe b/Letusc-exercises/luc013.exe
Binary files differ.
diff --git a/Letusc-exercises/luc014.c b/Letusc-exercises/luc014.c
@@ -0,0 +1,23 @@
+/* Given the length and breadth of a rectangle, write a program to find
+whether the area of the rectangle is greater than it's perimeter.
+For example, the area of the rectangle with length = 5 and breadth = 4
+is greater than its perimeter. */
+/* Author - Amit Dutta, Date - 1st OCT, 2025 */
+/* Let Us C, Chap- 3, Page - 53, Qn No.: f(e) */
+
+#include <stdio.h>
+int main()
+{
+ double len, bre, area, peri;
+ printf("Enter the length and breadth of the rectangle : ");
+ scanf("%lf %lf", &len, &bre);
+ area = len * bre;
+ peri = 2 * (len + bre);
+ if (area > peri)
+ printf("\nThe area of the rectangle is greater than it's perimeter.");
+ else if (area < peri)
+ printf("\nThe area of the rectangle is lower than it's perimeter.");
+ else
+ printf("\nThe area of the rectangle is same as it's perimeter.");
+ return 0;
+}+
\ No newline at end of file
diff --git a/Letusc-exercises/luc014.exe b/Letusc-exercises/luc014.exe
Binary files differ.
diff --git a/SECURITY.md b/SECURITY.md
@@ -0,0 +1,9 @@
+# Security Policy
+
+## Reporting a Vulnerability
+
+While this is a personal learning project, if you discover a security vulnerability in any of the code, I would appreciate it if you could bring it to my attention.
+
+Please report vulnerabilities by opening a new issue on the repository. Please provide as much detail as possible in your report, including the steps to reproduce the vulnerability.
+
+Thank you for helping to improve the quality of my work.+
\ No newline at end of file