You are here

Page not found

Search results

  1. 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

  2. Java for loop

    ... You can terminate an infinite loop by pressing Ctrl + C . Simple for loop example in Java Example program below uses for ... ( String [ ] args ) {     int c ;         for ( c = 1 ; c <= 10 ; c ...

    Yogesh Suneja - 04/12/2019 - 08:47

  3. Exception handling in Java

    ... {     String languages [ ] = { "C" , "C++" , "Java" , "Perl" , "Python" } ;       try ...

    Yogesh Suneja - 04/12/2019 - 21:33

  4. conio.h

    The conio.h header file used in C programming language contains functions for console input/output. Some of its ... textcolor textbackground The Borland Turbo C++ compiler supports "conio.h," but the GCC compiler doesn't. Beginner C/C++ ...

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

  5. Floyd's triangle in Java

    ... [ ] )   {     int n, num = 1 , c, d ;     Scanner in = new Scanner ( System . in ) ... "Floyd's triangle:" ) ;       for ( c = 1 ; c <= n ; c ++ )     {       for ...

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

  6. Java program to generate random numbers

    ... ( String [ ] args ) {     int c ;     Random t = new Random ( ) ;     // random integers in [0, 100]     for ( c = 1 ; c <= 10 ; c ++ ) {       System ...

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

  7. Armstrong number in Java

    ... power ( int n, int r ) {     int c, p = 1 ;       for ( c = 1 ; c <= r ; c ++ )       p = p * n ; ...

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

  8. Java methods

    ... tutorial, we learn about Java methods (known as functions in C and C++ programming languages). A method has a name and return type. The main ...

    Yogesh Suneja - 04/12/2019 - 19:51

  9. Enhanced for loop in Java

    ... {     String languages [ ] = { "C" , "C++" , "Java" , "Python" , "Ruby" } ;     for ( ...

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

  10. Java while loop

    ... conditions such as while ( a > b && c != 0 ) {   // Loop body } Loop body is ... variable a is greater than value of variable b and variable c isn't equal to zero. 3. A body of a loop can contain more than one ...

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

Pages