Posts by **Akash Tripathi**

**Author Biographical Info: **I am a Computer Science Engineering Undergraduate, who loves coding and developing web applications.

I always try myself to keep myself updated with the latest technologies, which my quick learning ability helps me to do it easily.

Today we will how to check whether a number is a Special number or not in Java. But before that, we should know what is a special number. A special number is a number such that the.... Read More

Hey folks, today we will see how to count the prime numbers in a certain range in Java. For this purpose, we won’t be using any predefined methods and will code the logic fro.... Read More

Today we will see how to find the maximum and minimum element in an array in Java. For this purpose, we will use two variables max and min and then compare them with each element a.... Read More

Hello coders, today we will see how to find the sum of principal diagonal in a matrix in Java. A matrix is nothing but a 2D array, and since we need to work with diagonal therefore.... Read More

In the last tutorial, we learned about the sum of the principal diagonal of a matrix, in this tutorial we will see how to find the sum of the secondary diagonal of a matrix in Java.... Read More

Today we will see how to count the number of occurrences of a particular element in an Array in Java. Example: If the array is : 10 15 17 19 19 15 10 .... Read More

Today we will see how to round off a number to the nearest multiple of 10 in Java. Example: 13 will be rounded off to 10. 27 will be rounded off to 30. 55 will be rounded off to 50.... Read More

Hello guys, hope you are having a great day. Today we will see how to calculate Simple Interest in Java. The program remains the same as that of compound interest, only the formula.... Read More