-
### Description
Write a program to convert hexadecimal to octal
Hexadecimal is a base-16 number system. It uses sixteen digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The digits are cal…
-
### Description
Write a program to find weekend days from number of years
Weekend means Saturday & Sunday together. In total, we have 52 weeks in a year. So there are 52 weekends in a year. So, in n…
-
### Description
Write a program to print fibonacci series without recursion
```
Input : 5
Output : 0 1 1 2 3
```
### Tracking Issues
- [x] codinasion/codinasion#1587
- [x] codinasion/codinasi…
-
### Description
Write a program to find cube of a number
```
Input : 2
Output : 8
```
### Tracking Issues
- [x] codinasion/program#126
- [x] codinasion/codinasion#110
- [x] codinasion/codina…
-
### Description
Write a program to find second largest number in an array
```
Input : [1, 2, 3, 4, 5]
Output : 4
```
### Tracking Issues
- [x] codinasion/codinasion#2614
- [x] codinasion/codinas…
-
### Description
Write a program to check consonant
Check if a character is a consonant.
```
Input : b
Output : Consonant
```
### Tracking Issues
- [x] codinasion/codinasion#840
- [x] codin…
-
### Description
Write a program to find the inverse of a
The inverse of a square matrix A is another square matrix B such that the product of A and B is the identity matrix I. The inverse of A is de…
-
### Description
Write a program to print elements of an array
```
Input : [1, 2, 3, 4, 5]
Output : 1 2 3 4 5
```
### Tracking Issues
- [x] codinasion/codinasion#4116
- [x] codinasion/codinasion#…
-
### Description
Write a program to find average of digits of a number by recursion
Average of digits of a number is the sum of digits of the number divided by the number of digits in the number. For…
-
### Description
Write a program to print reverse of a number by recursion
Reverse of a number is the number obtained by reversing the digits of the original number. For example, reverse of 123 is 32…