Ads block

Banner 728x90px

Binary search in JAVA programming


import   java.util.Scanner ; public   class  BinarySearch  {        public   static   void  main ( String [ ]  args )   {           Scanner myScanner = …
Read more »

String palindrome in JAVA programming


import   java.util.Scanner ;   public   class  StringPalin  {          public   static   void  main ( String [ ]  args )   {           Scanner myScann…
Read more »

String swapping in JAVA programming


import   java.util.Scanner ;   public   class  StringSwapping  {        public   static   void  main ( String [ ]  args )   {           Scanner myScann…
Read more »

Factorial using recursion in JAVA programming


import   java.util.Scanner ;   public   class  FactorialRecursion  {        public   static   void  main ( String [ ]  args )   {           Scanner myS…
Read more »

Fibonacci series using recursion in JAVA programming


import   java.util.Scanner ;   public   class  FibonacciRecursion  {        public   static   void  main ( String [ ]  args )   {           Scanner myS…
Read more »

Selection sort in JAVA programming


package   SolveProblem ; //Package name---------   import   java.util.Scanner ;   public   class  SelectionSort  {        public   static   void  main …
Read more »

Round the value of Given number in Java


import   java.util.Scanner ;   public   class  abc  {        public   static   void  main ( String [ ]  args )   {           Scanner myScanner = new  S…
Read more »

Power of Given number in Java


import   java.util.Scanner ;   public   class  Power  {        public   static   void  main ( String [ ]  args )   {           Scanner myScanner = new …
Read more »

Sum of digits of the given number in Java programming


import   java.util.Scanner ;   public   class  SumDigits  {        public   static   void  main ( String [ ]  args )   {           Scanner myScanner = …
Read more »

Armstrong number between a to b in JAVA programming


import   java.util.Scanner ;   public   class  ArmstrongBTNum  {        static   int  armstrong ( int  n )        {            int  sum = 0 ,rem,num,…
Read more »