Skip to content

vinaytheprogrammer/Teaching

Repository files navigation


Teaching Repository

Instructions

  1. Clone the Repository:

    git clone https://github.com/vinaytheprogrammer/Teaching.git
    cd Teaching
  2. Create a Directory for the Assignment:

    • For assignment 1, create a directory named ans1.
  3. Create a File for Your Answers:

    • Inside the ans1 directory, create a file with your name (e.g., vinay_gupta.js).
  4. Submit Your Answers:

    • Write and save your answers in the file created in the previous step.

Example

  1. Clone the Repository:

    git clone https://github.com/vinaytheprogrammer/Teaching.git
    cd Teaching
  2. Create Directory for Assignment 1:

    mkdir ans1
    cd ans1
  3. Create Your Answer File:

    touch vinay_gupta.js
  4. Write Your Answers:

    • Open vinay_gupta.js in your preferred code editor.
    • Write your answers and save the file.

Contributing

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request.

Example of vinay_gupta.js

// Question 1: Write a function to add two numbers.
function add(a, b) {
    return a + b;
}

console.log(add(2, 3)); // Output: 5

Follow these steps to ensure your work is properly organized and submitted. If you have any questions or need further assistance, feel free to contact me.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published