C++ program to count the number of sentences from a text file

By Gagana Gonchikar N

In this tutorial, we’ll learn how to count the number of sentences from a text file using C++ programming language. Here the text file name can be anything as per the user wi.... Read More

Pie chart in Python using Seaborn

By Shubham Kumar Singh

Fellow coders, in this tutorial we are going to plot a Pie chart in Python with the help of Seaborn and Matplotlib. We will learn about data visualization and what is the benefit o.... Read More

Get ID of parent element in JavaScript DOM

By Faruque Ahamed Mollick

Often it may be required to get the ID of the parent element of a child element in an HTML document to perform task. So here, I am going to show you the easiest way to get the ID o.... Read More

Calculate Derivative Functions in Java

By Shubham Kumar Singh

Fellow coders, in this tutorial we are going to learn how to calculate the derivative of a function in Java. As we all know that, the derivative of a function measures the change i.... Read More

Adjacency Matrix representation of graph in C++

By Himanshu Raj

An adjacency matrix is a square matrix used to represent a finite graph. It is a way of representing a graph as a matrix of booleans (0’s and 1’s). The boolean value of.... Read More

Next Smaller Number to Right for each element of a list using Stack in Python

By Amrit Pratyay

In this tutorial, we will return the list of the next smaller number to right for each element of a list in Python. Problem Statement: Given a list, find the next smaller number to.... Read More

Find unique lines from two .txt files and store the unique new lines in Python

By Saruque Ahamed Mollick

In this tutorial, we will learn how to find only the unique lines from the two .txt files (text files) in Python. We can also say that we will remove the lines that exist in both o.... Read More

C++ program to change the time format from 12 hours to 24 hours

By Gagana Gonchikar N

In this tutorial, we will learn how to change the time format from 12 hours to 24 hours in C++ programming. In this program, the user needs to enter the input in the 12 hours forma.... Read More

Related Posts