-
### Description
Write a program to find sum of n natural numbers using formula
formula: n(n+1)/2
```
Input : 5
Output : 15
```
### Tracking Issues
- [x] codinasion/codinasion#3989
- [x] co…
-
### Description
Write a program to calculate simple interest
Simple interest = (principal amount * rate of interest * time) / 100
```
Principal : 1000
Rate : 10
Time : 5
Simpl…
-
### Description
Write a Java program to reverse words in a string
```
Input : "Hello World"
Output : "World Hello"
```
Contributed by - @Parvezkhan0
How to contribute
- Fork this repository
-…
-
### Description
Write a PHP program to find the determinant of a matrix
The determinant of a square matrix is a scalar value that can be computed from the elements of the matrix. The determinant of …
-
### Description
Write a Java program to implement ternary search
Ternary search is a divide and conquer algorithm that can be used to find an element in an array. It is similar to binary search wher…
-
### What would you like to share?
i think there is another way to represent to the requested solution
### Additional information
```js
function getTheHighstSumInArr(arr): {
const arrToW…
-
https://github.com/codinasion/codinasion/blob/e4a4a4e10739c5a5625bff4da80de081a285f135/github-bots/assign-me/src/index.ts#L8-L12
> For now, this will work 👍🏻
>
> But we should also consider that…
-
### Description
Write a Dart program to swap two numbers without using third variable
```
Input : 10 20
Output : 20 10
```
How to contribute
- Save the solution in `program/program/swap-two-n…
-
### Description
Write a F# program to find average of numbers by recursion
Average of numbers is the sum of all numbers divided by the number of numbers. For example, the average of 1, 2, 3, 4, 5 is…
-
### Description
Write a Haskell function that converts a given string to vowel-case.
Vowel-case is a unique writing style where all vowels are transformed into uppercase letters and all consona…