Search:

Type: Posts; User: Lokesh

Search: Search took 0.67 seconds.

  1. Replies
    132
    Views
    20,247

    Sticky: Re: 500 Ways to Print 1 to 10

    Here it goes (using do....while)

    class One2Ten
    {
    public void display()
    {
    int a = 1;
    do
    ...
  2. Replies
    3
    Views
    414

    Confused about infinite loop

    Let's take an example


    int a = 1;
    for(;a>0;a++)

    In the code above the condition is always true so the loop is infinite but int datatype have a limit so what will happen if value of "a"...
  3. Replies
    1
    Views
    3,038

    Call by Reference & Call by Value

    Please explain their working.(with short example )
  4. [SOLVED] Program to find how many letters start with vowels

    The program's output is n't correct

    Here's the code......



    import java.io.*;
    class Vowels
    {
    void Input()throws IOException
  5. [SOLVED] Is it possible to get factorial of negative number

    I was wondering about this.Please help
  6. [SOLVED] Help with prefix and postfix(increment&decrement)

    I know that when used alone both prefix postfix work the same way but in expressions it behaves differently when combined.:confused:



    int a=1,b=3,c=4,d=0;
    d=a-(b++)*(c++)



    please explain...
  7. Thread: Hello

    by Lokesh
    Replies
    1
    Views
    262

    Hello

    Hi everyone
Results 1 to 7 of 7