-
Write a function to return an array containing the natural numbers from 1 to n.
-
Write a function to return an array containing the natural numbers from 1 to n in reverse.
-
Write a function to return an array containing the answers to a given times-table (given n return the n times table).
-
Write a function to return an array containing the reverse of a given times-table (given n return the reverse of the n times-table).
-
Write a function to return an array containing the letters in order from a to z.
-
Write a function to return an array containing the letters from Z to A
-
Write a function to return an array containing all even numbers between 1 and n.
-
Write a function to return an array containing all odd numbers between 1 and n
-
Write a function to return the sum of all natural numbers between 1 to n.
-
Write a function to return the sum of all even numbers between 1 to n.
-
Write a function to return sum of all odd numbers between 1 to n.
-
Write a function to return an array containing the letters between two ASCII values (which are arguments to the function).
-
Write a function to return the factorial value of any number.
-
Write a function to return an array containing the first n Fibonacci values.
-
Write a function to return a number made up of the reversed digits of the given number (1973 -> 3791, and 1900 -> 91).
-
Write a function to return the sum of the digits of a given number (1973 -> 20).
-
Write a function to check whether a given number is prime or not.
-
Write a function that will return the Highest Common Factor of two given numbers.
-
Write a function that will return the Lowest Common Multiple of two given numbers.
-
Write a function to return an array containing all of the multiples of 9 between two numbers.
-
Notifications
You must be signed in to change notification settings - Fork 2
boolean-uk/java-for-loop-exercise
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published