Results 1 to 4 of 4

Thread: help.....

  1. #1
    sameermengal is offline Senior Member+
    Last Online
    12th February 2020 @ 10:26 AM
    Join Date
    07 Jan 2010
    Location
    khi
    Age
    36
    Gender
    Male
    Posts
    557
    Threads
    56
    Credits
    0
    Thanked
    17

    Default help.....

    muje is program ka algorithm chaiye kya koi help kr sakta hai kis tarah likengey ...........?

    class Push {

    public static void main (String args[]){

    int stck[ ] = new int[10];

    int item[ ] = {111,22,33,44,55,66,77,88,99,11};

    int tos = -1;

    for(int i=0;i<=10;i++){

    if(tos == 9)

    System.out.println("Stack is full.");
    else

    stck[ ++tos ] = item[i];
    System.out.println("--> "+ item[i]); }
    }
    }

  2. #2
    rehan_734's Avatar
    rehan_734 is offline Advance Member
    Last Online
    12th November 2019 @ 10:22 PM
    Join Date
    14 Apr 2009
    Location
    (¡èR^Y^Khan¡è)
    Gender
    Male
    Posts
    958
    Threads
    79
    Credits
    1,067
    Thanked
    49

    Default

    Ye kia hy

  3. #3
    sameermengal is offline Senior Member+
    Last Online
    12th February 2020 @ 10:26 AM
    Join Date
    07 Jan 2010
    Location
    khi
    Age
    36
    Gender
    Male
    Posts
    557
    Threads
    56
    Credits
    0
    Thanked
    17

    Default

    Quote rehan_734 said: View Post
    Ye kia hy
    java program hai dear

  4. #4
    Net-Rider's Avatar
    Net-Rider is offline Advance Member+
    Last Online
    18th January 2014 @ 04:34 AM
    Join Date
    09 Jun 2009
    Location
    **PAKISTAN**
    Gender
    Male
    Posts
    28,932
    Threads
    1755
    Credits
    0
    Thanked
    6986

    Default

    تھریڈ کو موو کیا گیا ایجوکیشنل ہیلپ سیکشن سے
    آسک اینڈ ایکسپرٹ سیکشن میں

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •