diff --git a/.github/create CODEOWNERS b/.github/create CODEOWNERS new file mode 100644 index 00000000..e32a21f5 --- /dev/null +++ b/.github/create CODEOWNERS @@ -0,0 +1 @@ +* @softservedata diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..378b862f --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,9 @@ +## Describe your changes + +## Issue ticket number and link + +## Checklist before requesting a review +- [ ] I have performed a self-review of my code +- [ ] If it is a core feature, I have added thorough tests +- [ ] Do we need to implement analytics? +- [ ] Will this be part of a product update? If yes, please write one phrase about this update diff --git a/myprog.js b/myprog.js new file mode 100644 index 00000000..2c9c6c0c --- /dev/null +++ b/myprog.js @@ -0,0 +1,14 @@ +function sumNumbers(a, b) { + return a + b; +} + +console.log("Вітаю! Ця програма обчислює суму двох чисел."); + +const number1 = parseFloat(prompt("Введіть перше число:")); +const number2 = parseFloat(prompt("Введіть друге число:")); + + +const result = sumNumbers(number1, number2); + +console.log(`Сума чисел ${number1} і ${number2} дорівнює ${result}.`); +alert(`Сума чисел ${number1} і ${number2} дорівнює ${result}.`);