Search:

Type: Posts; User: Needle_Scratch

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,320

    so , what about your code? is it true ?

    so , what about your code?

    is it true ?
  2. Replies
    10
    Views
    1,320

    my code is correct? or what

    my code is correct? or what
  3. Replies
    10
    Views
    1,320

    Thanx, you are very cool I'm only a beginner

    Thanx, you are very cool
    I'm only a beginner
  4. Replies
    10
    Views
    1,320

    I figured that and I get theis : int...

    I figured that and I get theis :




    int fac(int i)
    {
    int ret = 1;
    for(;i>1;--i)
    ret *= i;
  5. Replies
    10
    Views
    1,320

    Please help quickly

    int Factorial ( int number )
    // Pre: number is assigned and number >= 0.
    {
    if ( number == 0) // base case
    return 1 ;
    else // general case


    return (number *...
Results 1 to 5 of 5