javascript

JavaScript set add() method explanation with example

JavaScript set add() method is used to add or append a new element to the end of a set. This post will show you how to use add() method with examples.

Read
javascript

JavaScript program to delete an item from a set

JavaScript program to delete an item from a set. Learn how to delete a single value, multiple values and an object from a set in JavaScript.

Read
javascript

JavaScript program to check if an array is a subarray of another array

Check if an array is a subarray of another array or not in JavaScript. We will learn 3 different ways to check for a subarray.

Read
javascript

JavaScript Array every method explanation with example

JavaScript array every method is used to check if every element of an array satisfy a given callback function. Learn how to use array every method with examples.

Read
java

How to find the velocity in Java using user-give values

Java program to find the velocity using user-given values. There are two different formula to find the velocity. This post will show you how to do that in Java.

Read
java

3 ways in Java to find the sum of Fibonacci series

3 different ways in Java to find the sum of Fibonacci series or series 0, 1, 1, 2, 3, 5, 8... of the first n elements.

Read
C++

C++ program to print 1 to 100 in different ways

C++ program to print from 1 to 100. We will learn to print this series using a for loop, while loop and do-while loop.

Read
C++

C++ program to find the sum of 1 + 1/2 + 1/3 + 1/4+....n

C++ program to find the sum of the Harmonic progression series 1 + 1/2 + 1/3 + 1/4+....n

Read
C++

C++ program to check if a number is divisible by 5 and 11

C++ program to check if a number is divisible by 5 and 11. Learn two ways to find if 5 and 11 can divide a number or not.

Read
c#

C# String.ToUpper method explanation with example

C# program example of string.ToUpper method. ToUpper method is used to convert a string to uppercase. Let's learn it with an example.

Read