Program to find absolute value of a given number
Given an integer N, The task is to find the absolute value of the given integer....
read more
Javascript Program for Prime Numbers
Prime numbers...
read more
Javascript program to swap two numbers without using temporary variable
To swap two numbers without using a temporary variable, we have multiple approaches. In this article, we are going to learn how to swap two numbers without using a temporary variable....
read more
JavaScript program to find area of a circle
Learn how to calculate the area of a circle using JavaScript with this easy guide. We will show you a simple JavaScript program that does the math for you. Whether you’re new to coding or looking for a quick refresher, this article has got you covered....
read more
Javascript Program to multiply two matrices
Given two matrices, the task to multiply them. Matrices can either be square or rectangular....
read more
JavaScript Math exp() Method
JavaScript Math.exp() is used to get the value of ep, where p is any given number. The number e is a mathematical constant having an approximate value equal to 2.718. It was discovered by the Swiss mathematician Jacob Bernoulli. 2.718 is also called Euler’s number....
read more
JavaScript Program to find simple interest
Simple interest is a quick method of calculating the interest charge on a loan. Simple interest is determined by multiplying the daily interest rate by the principal by the number of days that elapse between payments....
read more
Php Program to multiply two matrices
Given two matrices, the task to multiply them. Matrices can either be square or rectangular....
read more
JavaScript program to find compound interest
What is ‘Compound interest’ ? Compound interest is the addition of interest to the principal sum of a loan or deposit, or in other words, interest on interest. It is the result of reinvesting interest, rather than paying it out, so that interest in the next period is then earned on the principal sum plus previously-accumulated interest. Compound interest is standard in finance and economics.Compound interest may be contrasted with simple interest, where interest is not added to the principal, so there is no compounding....
read more
How to wrap text around circular carousel in Bootstrap 4 ?
Wrapping up a circular carousel is quite hectic compare to wrapping up a circular image or any shape of the image. In this article first, we have to create a carousel to make that circular, then we can use the text to wrap the carousel. First, you have to create Bootstrap Carousel. To make that carousel circular you can use CSS border-radius property. Then write down your wrapping text and use the CSS Circle() function on the main div. This will wrap your circular carousel in proper way:Below example illustrates the above approach: Example:...
read more
Count of elements not divisible by any other elements of Array
Given an array arr[], the task is to determine the number of elements of the array which are not divisible by any other element in the given array. Examples:...
read more
JavaScript program to check whether a given number is power of 2
Given a positive integer n, write a function to find if it is a power of 2 or not...
read more