Article archive

PROGRAM TO CHECK WHETHER THE NUMBER IS KAPREKAR OR NOT

04/01/2016 08:09
import java.util.*; public class Kaprekar { public static void main(String args[]) {  Scanner sc=new Scanner(System.in);  System.out.println("Enter a number");  int num=sc.nextInt();   int sq=num*num; String sq1=Integer.toString(sq);  int...

Write a program to design a calculator

06/02/2014 13:13
import java.io.*; public class calculator { public static void main(String args[])throws IOException { InputStreamReader ir=new InputStreamReader(System.in); BufferedReader br =new BufferedReader(ir); System.out.println("enter choice 1,2,3 or 4"); System.out.println("enter choice...

Write a program to print numbers 1 to 100

06/11/2013 16:43
public class prime {  static boolean prime1(int n)  /* defining a function to check whether the number is prime or not  */  {  int sum=0;          /*define a variable to check the number of factors for n*/      for(int...

A happy news for my visitors

03/11/2013 13:50
Check out the games uploaded on my site!!!!!!!!!!! You will find in the games section

games

03/11/2013 13:21
<embed src="https://games.mochiads.com/c/g/zombie-man-2/zombieman2new.swf" type="application/x-shockwave-flash" width="550" height="500"></embed><br><a href="https://www.freeworldgroup.com" target="_blank" title="Play Games">Play Games at freeworldgroup</a>

WAP to accept array values from user and sort them using bubble sort

18/10/2013 17:49
import java.io.*; public class accepting { public static void main(String args[])throws IOException { System.out.println("Enter 5 numeric values"); int[]a=new int[5]; int b=a.length; int t; for(int l=0;l<=b-1;l++) { InputStreamReader ir=new...

WAP to sort string arrays using bubble sort

18/10/2013 16:41
public class bubblestring { public static void main(String args[]) { String[]a={"delhi","mumbai","agra","chennai","orrisa","indore"}; String t; int b=a.length; for(int i=0;i<=b-1;i++) { for(int...

WAP to search a value in a array using binary search.Value should be accepted from the user

17/10/2013 21:30
import java.io.*; public class binarysearch { public static void main(String args[])throws IOException { System.out.println("enter the element"); InputStreamReader ir=new InputStreamReader(System.in); BufferedReader br=new...

WAP to search a value in a array using linear search.Value should be accepted from the user

17/10/2013 21:28
import java.io.*; public class linearsearch { public static void main(String args[])throws IOException { System.out.println("please enter a value"); InputStreamReader ir=new InputStreamReader(System.in); BufferedReader br=new BufferedReader(ir); int []a={81,90,100,26}; int...

Website has been changed

17/10/2013 20:38
In order to prevent monotony I have changed my website with a liitle updation
Items: 1 - 10 of 39
1 | 2 | 3 | 4 >>