In this tutorial, we will see how to enable the submit button only when all the input fields are filled. The page will contain many input fields and a submit button. Initially, the.... Read More
In this article, we will learn how to find the type of triangle with given sides in Python. Let a, b, c represent the sides of the triangle. Examples Input: a = 5, b = 4, c = 3 Out.... Read More
In this article, we will learn how to count the pair in an array whose product is divisible by k in Python. Examples Input: arr[] = {2, 3, 5, 8, 9} k = 4 Output: 4 Explanat.... Read More
In this post, we shall look at a technique to make members of a JavaScript class private. Background Consider object-oriented languages like C++ and Java. Both languages have the c.... Read More
In this tutorial, we shall learn to compute all permutations of an array in C++. Here we shall be using STL’s next_permutation function. The std::next_permutation is used to .... Read More
In this tutorial, we shall learn to compute the integers according to the binomial discrete distribution in C++. So, first, we need to know what is a binomial distribution. The bin.... Read More
Hello everyone, in this tutorial, we are going to learn how to take screenshots with Python. There are more than one ways to take a screenshot using Python. We will discuss some of.... Read More
In this article, we will learn how to find the minimum number of steps to reach M from N in Python. We are going to use only two operations to reach M from N. Multiply a number a b.... Read More