Skip to content

Commit

Permalink
Homework solution MastersAcademy#1
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkiyan23 committed Nov 17, 2022
1 parent c263da6 commit 78ea187
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions homeworks/vladislav.kyian_vladkiyan23/1-basics/basics.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const firstNumber = 10;
const secondNumber = 15;
const thirdNumber = 0;

const additionResult = firstNumber + secondNumber;
const subtractionResult = firstNumber - secondNumber;
const multiplyResult = firstNumber * secondNumber;
const divisionResult = firstNumber / thirdNumber;
const remainderOfTheDivison = secondNumber % firstNumber;
const exponentiationResult = firstNumber ** secondNumber;

console.log(additionResult);
console.log(subtractionResult);
console.log(multiplyResult);
console.log(divisionResult);
console.log(remainderOfTheDivison);
console.log(exponentiationResult);

0 comments on commit 78ea187

Please sign in to comment.