fork-commit-merge / fork-commit-merge

Fork, Commit, Merge. A project designed to help you familiarize yourself with the open source contribution workflow on GitHub!

Home Page:https://forkcommitmerge.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fork, Commit, Merge - Easy Issue (JavaScript)

nikohoffren opened this issue · comments

Fork, Commit, Merge - Easy Issue (JavaScript)

Create a Simple Program That Prints The Sum of Two Numbers

Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!

How to get started

Open the tasks/javascript/easy directory from the root of your project.
Then open the sum.js file and start implementing your solution!

Description

In this task, you have to create a simple program which has a function called sum, that returns the sum of two numbers and prints the result in the console.

Expected output

The sum of 1 and 2 is 3.

How to run

Navigate to the correct directory:

cd tasks/javascript/easy

Run the program:

node sum.js

If you see the correct output in the console, you are ready to make a pull request!


Check out README.md for more instructions and how to make a pull request.

Feel free to ask any questions here if you have some problems!

Also, kindly give this project a star to enhance its visibility for new developers!