Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
fe5ab9e
sprint2Exercises
RahwaZeslusHaile Oct 29, 2024
dc58894
the function to identify the angle
RahwaZeslusHaile Nov 17, 2024
89ced3f
a java script code to identify the validity of function
RahwaZeslusHaile Nov 24, 2024
f1d08ce
writing different assertion for a function getCardValue
RahwaZeslusHaile Nov 25, 2024
051dde0
a function that identify the validness of triangle
RahwaZeslusHaile Nov 25, 2024
2596718
a function that shifts value and character as input
RahwaZeslusHaile Nov 27, 2024
dede04f
updated
RahwaZeslusHaile Dec 9, 2024
4d3a429
updated
RahwaZeslusHaile Dec 9, 2024
81f1dc7
Explanation reason for the bug with the correct code
RahwaZeslusHaile Dec 14, 2024
968ebe1
correct BMI calculation
RahwaZeslusHaile Dec 14, 2024
00be24d
Making the function more descriptive
RahwaZeslusHaile Dec 14, 2024
a31b23f
handling edge cases
RahwaZeslusHaile Dec 14, 2024
c8e6bb1
Proper Declaration
RahwaZeslusHaile Dec 14, 2024
e551597
A function and a test to count the char
RahwaZeslusHaile Dec 15, 2024
7b89028
Function to get ordinary number
RahwaZeslusHaile Dec 15, 2024
b9c04de
different file name for js and test.js
RahwaZeslusHaile Dec 16, 2024
b482ac3
A function to get ordinal number with test
RahwaZeslusHaile Dec 16, 2024
2f1cb35
A function to check if the given number is prime or not
RahwaZeslusHaile Dec 16, 2024
6bf3fbb
a test for ordinal number
RahwaZeslusHaile Dec 16, 2024
1f64f33
A function to check the password validation
RahwaZeslusHaile Dec 16, 2024
0842687
A function and test to repeat the string
RahwaZeslusHaile Dec 16, 2024
7a67c3b
while loop statement
RahwaZeslusHaile Dec 16, 2024
9099e59
credit card validator
RahwaZeslusHaile Dec 16, 2024
0e8952c
A function to get an Angle Type
RahwaZeslusHaile Jan 4, 2025
a128541
get-card-value
RahwaZeslusHaile Jan 13, 2025
8f9ab5d
Updated-is-valid-triangle function
RahwaZeslusHaile Jan 13, 2025
a05fdef
Updated-rotate-char
RahwaZeslusHaile Jan 14, 2025
fe69f36
Updated card-validator
RahwaZeslusHaile Jan 21, 2025
f964082
Updated Is-prime-number
RahwaZeslusHaile Jan 21, 2025
8f7c9aa
Updated password-validator test by adding a lowercase letter to make …
RahwaZeslusHaile Jan 21, 2025
6a501ab
Updating long code to single string.repeat(count) method
RahwaZeslusHaile Jan 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Proper Declaration
  • Loading branch information
RahwaZeslusHaile committed Dec 14, 2024
commit c8e6bb16778b6e0533edb13c5503ee6fafde48f3
2 changes: 1 addition & 1 deletion Sprint-2/implement/vat.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// When I call this function with a number
// it returns the new price with VAT added on
function priceWithoutVAT(price){
priceWithVAT=price+ (price*0.2);
const priceWithVAT = price + (price * 0.2);
return priceWithVAT;
}
console.log (priceWithoutVAT(50));