Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sangaryousmane committed Jun 12, 2023
1 parent 8543c4d commit 68c22a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ Check all the manual of this part in this link: [**Here**](src/intro/ThirdTask.j
<=40 Fail `
10. Write a program to print the factorial of a number by defining a method named 'Factorial'. Factorial of any number n is represented by n! and is equal to 1 * 2 * 3 * .... * (n-1) *n. E.g.-

`4! = 1 * 2 * 3 * 4 = 24
4! = 1 * 2 * 3 * 4 = 24
3! = 3 * 2 * 1 = 6
2! = 2 * 1 = 2
Also,
1! = 1
0! = 1`
0! = 1
12. Write a function to find if a number is a palindrome or not. Take number as parameter.
13. Convert the programs in flow of program, first java, conditionals & loops assignments into functions.
14. Write a function to check if a given triplet is a Pythagorean triplet or not. (A Pythagorean triplet is when the sum of the square of two numbers is equal to the square of the third number).
Expand Down Expand Up @@ -159,4 +159,4 @@ Also,
11. Hard
12. Max Value of Equation
13. First Missing Positive
14. Good Array
14. Good Array

0 comments on commit 68c22a7

Please sign in to comment.