## Write a program to print first n prime numbers in Java.

AIM: – Write a program to print first n prime numbers in Java. Prime Number: AÂ prime numberÂ is a wholeÂ numberÂ greater than 1 whose only factors are 1 and itself. A factor is a wholeÂ numbersÂ that can be divided evenly into anotherÂ number. The first fewÂ prime numbersÂ are 2, 3, 5, 7, 11, 13, 17, Read more…

## Write a program to check whether a given number is prime in Java

AIM: – Write a program to check whether a given number is prime. Prime Number: A prime number is a natural number greater than 1 that cannot be formed by multiplying two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. Read more…

## Write a program to find maximum of three numbers in Java

AIM: – Write a program to find maximum of three numbers. Here we are writing about Write a program to find maximum of three numbers in Java. Our initiative is that user understand code by reading comment so that he/she can became capable to any understand code in this programming Read more…

## Write a program to print grades for given input percentage from command line using nested if else in Java

AIM: – Write a program to print grades for given input percentage from command line using nested if else. Here we are writing about Write a program to print grades for given input percentage from command line using nested if else in Java. Our initiative is that user understand code Read more…

## Write a program to find Fibonacci series for a given input in Java

AIM: – Write a program to find Fibonacci series for a given input. Here we will Write a program to find Fibonacci series for a given input in Java to help this java world members. Hope so you would like it, we are trying to make program easier by writing Read more…

## Array and Its types in C-Cpp

An array is a collection of variables of the same type that are referenced by a common name. Array can be of 3 types: One-dimensional array Two-dimensional array Multi-dimensional array For simplicity, we can think of an array a fleet of stairs where on each step is placed a value Read more…