c

C program to check if a number is Abundant or Excessive

C program to check if a number is abundant or excessive. This program will take a number from the user as input and check if it is abundant or excessive.

Read
c

C program to check if a number is a disarium number or not

C program to check if a number is disarium number or not. A number is called a disarium number if the sum of the digits of the number raised to the power of their positions is equal to the number itself.

Read
c

C program to write and read structures to and from a file

Learn how to write a structure to a file and how to read the structure content from a file. We can use fread() and fwrite() functions to read/write structure contents from and to a file.

Read
c

C itoa() function implementation explanation with example

Learn how to use itoa() function in C with examples. The itoa() function is used to convert an integer value to string in C. This post will show you how to use itoa() with examples.

Read
c

C program to print box pattern using a number or any other character

C program to print a box pattern by using a number or by using any character. The program will take the size of the pattern as an input from the user and it will print the pattern using a specific number or by using any character.

Read
c

C program to find the median of an array

C program to find the median of an Array. To calculate the median, we need to sort an array in ascending or descending order. It is the value at the mid point of an array.

Read
python

Python Matplotlib horizontal histogram or bar graph

How to draw a horizontal histogram using matplotlib in Python. Learn to create a basic horizontal bar graph, horizontal histogram using pandas and multiple bars using pandas.

Read
C++

C++ program to find and print all subsets of a set

C++ program to print all subsets of a set. The program will take the contents of the set as input from the user and it will print the subsets of that set.

Read
javascript

3 ways to get a random value from an array in JavaScript

JavaScript program to get a random value from an array. Learn how to do that in three different ways - by using Math.random(), ~~ operator, and by using lodash.

Read
javascript

JavaScript array values() function

JavaScript array values() function explanation with examples. The values() function returns a new array iterator object that can be used to iterate over the array content.

Read