Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.93 KB

CONTRIBUTING.md

File metadata and controls

56 lines (41 loc) · 1.93 KB

Contributing to hacktoberfest2024-third.github.io Repository (Hacktoberfest 2024)

Thank you for participating in Hacktoberfest 2024! We're excited to have contributors like you. Please follow these guidelines to make the contribution process smooth.

How to Contribute

  1. Check Existing Issues

    • Look through open issues before creating a new one.
    • If the question you want to add doesn't exist, feel free to open a new issue.
  2. Submit Questions

    • Your contributions should consist of C programming questions.
    • Use the following format when submitting questions:
      • Question Title: A clear and concise title.
      • Description: Brief description of the problem or task.
      • Input/Output Specifications: Clearly define inputs and expected outputs.
      • Constraints: Add constraints, if applicable.
      • Sample Input/Output: Provide at least two sample test cases.

    Example Format:

    ### Title: Swap Two Numbers without Using a Temporary Variable
    
    **Description**: Write a C function to swap two integers without using a temporary variable.
    
    **Input**: Two integers.
    
    **Output**: The two integers, swapped.
    
    **Constraints**: No use of arithmetic or bitwise operators.
    
    **Sample Input**: 

    Input: 5, 10

    **Sample Output**: 
    

    Output: 10, 5

  3. Code Guidelines

    • Follow C conventions: use proper indentation, meaningful variable names, and avoid global variables.
    • Comment your code where necessary to explain complex logic.
  4. Pull Requests

    • Fork the repository and clone it locally.
    • Create a new branch for your contribution.
    • Write your question or code solution in the appropriate directory.
    • Open a pull request (PR) against the main branch.
    • Ensure your PR title is clear and concise (e.g., "Add C question on pointer manipulation").

Thank you for your contribution, and happy coding!