How to calculate velocity using Java

By Smitha S Maganti

In this demo, we are going to learn how to calculate the final velocity of an object or a body in Java. We will be taking time, acceleration, displacement, and initial velocity as .... Read More

How to generate PDF invoice using Java

By Tishya Thakkar

In this tutorial, we will look at how to generate an invoice using Java. What is an invoice? An invoice is a document that contains information regarding a sale transaction like pr.... Read More

How to find the largest file in a folder in C++

By Himanshu Sharma

In this tutorial, we will learn how to find the largest file in a folder using C++. The simplest approach for this purpose is to use a header file named as <windows.h>. <w.... Read More

How to check if a number is Hoax or not in Java

By Ishika Koytekar

What is a Hoax Number? A Hoax number is defined as a composite number, whose sum of digits is equal to the sum of digits of its distinct prime factors. Note: 1 is not considered a .... Read More

Image Thresholding In OpenCV With Example

By Shubham Kumar Singh

Fellow coders, in this tutorial we will learn about “Image Thresholding” and implement it with the help of OpenCV in Python. Image thresholding is a technique that is u.... Read More

Show each key-value of a dictionary print on a new line in Python

By Yashkumar Patel

In this tutorial, we’ll look at a few alternative techniques to print the contents of a dictionary in Python line by line. In Python, output each key-value pair from a dictio.... Read More

Count smaller elements on the right side of an array in C++

By Manisha Rathore

In this tutorial, we will learn to count smaller elements on the right side of an array in C++. We will write a function to count elements which are smaller than the current elemen.... Read More

Remove characters from the first string that are in the second string in C++

By Manisha Rathore

In this tutorial, we will learn to remove the characters from the string are in the second string in C++. Algorithm: Firstly, there are two input strings. Now initialize input_inde.... Read More