Find Smallest Number in an Array Using Java

Prem Tiwari - - Java Programming


In this java program, I will share Java program to find the smallest number in an Array with an example. We have sorted the given array in ascending order and returning the first element. See …

Prime Number Program in Java

Prem Tiwari - - Java Programming


This is a simple Java program to find the prime number. A prime number is a number which is greater than 1 and only divisible by 1 or itself. Following is the first 10 prime …

Hello World Script in JavaScript

Prem Tiwari - - Code Snippets


In this tutorial, I am going to share a basic JavaScript script to print the Hello World Script in JavaScript is a platform-independent script. This is an example of a hello world script in javascript. …