You are here

Page not found

Search results

  1. Bubble sort in Java

    ... ( String [ ] args ) {     int n, c, d, swap ;     Scanner in = new Scanner ( System . in ... n + " integers" ) ;       for ( c = 0 ; c < n ; c ++ )       array [ c ] = ...

    Yogesh Suneja - 05/12/2019 - 20:40

  2. Transpose of a matrix in Java

    ... args [ ] )   {     int m, n, c, d ;     Scanner in = new Scanner ( System . in ) ... elements of the matrix" ) ;     for ( c = 0 ; c < m ; c ++ )       for ( d = ...

    Yogesh Suneja - 05/12/2019 - 20:21

  3. Multiplication table in Java

    ... String args [ ] )   {     int n, c ;     System . out . println ( "Enter an integer to print ... table of " + n ) ;     for ( c = 1 ; c <= 10 ; c ++ )       System . ...

    Yogesh Suneja - 30/11/2019 - 20:57

  4. Swapping of two numbers in Java

    ... } } For other methods to swap numbers see: C program to swap using bitwise XOR . ...

    Yogesh Suneja - 05/12/2019 - 21:15

  5. Linear search in Java

    ... ( String args [ ] )   {     int c, n, search, array [ ] ;       Scanner in = new ... n + " integers" ) ;       for ( c = 0 ; c < n ; c ++ )       array [ c ] = ...

    Yogesh Suneja - 05/12/2019 - 08:57

  6. Even odd program in Java

    ... Another method to check odd or even, for explanation see: C program to check odd or even . Code: import java.util.Scanner ... ( String args [ ] )   {     int c ;     System . out . println ( "Input an integer" ) ...

    Yogesh Suneja - 25/10/2020 - 23:04

  7. Factorial program in Java

    ... String args [ ] )   {     int n, c, f = 1 ;     System . out . println ( "Enter an ... ;     else     {       for ( c = 1 ; c <= n ; c ++ )         f = f * c ...

    Yogesh Suneja - 05/12/2019 - 00:13

  8. Java program to print alphabets

    Java program to print letters (i.e., a, b, c, ..., z in lower case) on the screen using a loop. Java program ... shows only the body of the main method): char c = 'a' ; while ( c <= 'z' ) {   ...

    Yogesh Suneja - 04/12/2019 - 09:16

  9. Java program to find all substrings of a string

    ...       String string, sub ;       int i, c, length ;             Scanner in = new Scanner ( ... \" are:" ) ;             for ( c = 0 ; c < length ; c ++ )       {       ...

    Yogesh Suneja - 05/12/2019 - 18:31

  10. Binary search in Java

    ... ( String args [ ] )   {     int c, first, last, middle, n, search, array [ ] ;       Scanner in ... + " integers" ) ;         for ( c = 0 ; c < n ; c ++ )       array [ c ] = ...

    Yogesh Suneja - 05/12/2019 - 09:11

Pages