Search:

Type: Posts; User: Faha

Search: Search took 0.14 seconds.

  1. Replies
    1
    Views
    2,111

    stack Palindrome , java

    import java.util.*;
    public class CheckPalindrome{
    public static void main(String[]args){
    Scanner input=new Scanner(System.in);
    System.out.print("Enter String: ");
    String st=input.next();
    String...
  2. Thread: Data Structure

    by Faha
    Replies
    9
    Views
    1,536

    Re: Data Structure

    how can i write this code using stacks "java" ?
  3. Thread: Data Structure

    by Faha
    Replies
    9
    Views
    1,536

    Re: Data Structure

    /* Recursive Function*/
    gcd(int n,int m)
    { if(m<=n && n%m == 0)
    return m;
    if(n < m)
    return gcd(m,n);
    else
    return gcd(m,n%m);
    }
  4. Thread: Data Structure

    by Faha
    Replies
    9
    Views
    1,536

    Re: Data Structure

    public static void main(String[] args)
    {
    String input = "";
    String str = "";
    Scanner scan = new Scanner(System.in);
    System.out.print("Enter a string: ");
    while(true)
    {

    str =...
  5. Thread: Data Structure

    by Faha
    Replies
    9
    Views
    1,536

    Re: Data Structure

    i dono how to start or what to do for first step?
    can u answer this Q?
  6. Thread: Data Structure

    by Faha
    Replies
    9
    Views
    1,536

    Data Structure

    1-,

    Hi all,
    can anyone help me with this? i need to know the java progrmmae for it ..





    _write a program that determines whether an input string is palindrome;that is whether it can be...
  7. Replies
    5
    Views
    750

    Re: Need Hlp with my prg.

    For Example, the following is the queue.
    5 2 56 12 4 21

    if the given element is 12, the output should be:
    5 2 56 12
    IF the given element is 78, the output should be:
    No element before 78
  8. Replies
    5
    Views
    750

    Re: Need Hlp with my prg.

    thanx 4 the edit..

    that what i did but still there is missing thing

    public Object printDepth(int a)
    {
    if(!isEmpty())
    {
    for(int i=front;i!=rear+1;i++)
  9. Replies
    5
    Views
    750

    Need Hlp with my prg.

    Hello this is my Question in queue using array...



    .............................................................................

    the task is to create a queue application using array....
  10. Replies
    5
    Views
    884

    Re: how can i print the out put !

    when you finish ur program
    and run it
    it will show you down the out put!
    how can print it:(from ther
  11. Replies
    5
    Views
    884

    how can i print the out put !

    plzz
    tell me how can i print the output from jcreator???
  12. Thread: HeeeY

    by Faha
    Replies
    8
    Views
    669

    Re: HeeeY

    Ok I'll try it with my jcrater and finish all this then I will be answer you what happen





    Thannnnnx for helpppppp mmeee
  13. Thread: HeeeY

    by Faha
    Replies
    8
    Views
    669

    Re: HeeeY

    Yss only b extends from a and other from b
  14. Thread: HeeeY

    by Faha
    Replies
    8
    Views
    669

    Re: HeeeY

    Ok it's all about to create 4 class
    Class a , class b derived from a and c derived from b and test class
    Speed is an instance variable in class b and c.
    The method are :
    Start() -a method...
  15. Thread: HeeeY

    by Faha
    Replies
    8
    Views
    669

    HeeeY

    Hi all.. I wish that u cake hlp me plllzzzzzzzzzzzz,, don't solve for me ,,,just teach me how to make it !!!! Plz I'll wait for some Volunteer
Results 1 to 15 of 15