Created
June 14, 2018 11:51
-
-
Save mikoscz/9b2967aece0eb732c67bcdb4cbd73d36 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Write a JavaScript function to get all prime numbers from 0 to a 250; | |
2. Write a JavaScript program to find the area of a triangle where lengths of the three of its sides are a, b, c - where abc are configurable variables. | |
3. Write a JavaScript code that prints triangle based on 'size' variable. Size represents the last line of triangle. | |
# | |
### - triangle with size 5 | |
##### | |
# | |
### - triangle with size 7 | |
##### | |
####### | |
# | |
### | |
##### - triangle with size 9 | |
####### | |
######### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment