Question about Computers & Internet

1 Answer

I need a jack n' poy program in java using while loop or for loop or do while or if else if..please help me i need it now!

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points


    An expert that gotĀ 5 achievements.


    An expert whose answer gotĀ voted for 20 times.


    An expert who has written 20 answers of more than 400 characters.

  • Expert
  • 134 Answers

Try this link

I hope it helps!!!

Posted on Dec 12, 2008

2 Suggested Answers

  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.

Posted on Jan 02, 2017

  • 1 Answer

SOURCE: jack n' poy program in java using loops

java code of jack and poy

Posted on Sep 14, 2009

Add Your Answer

Uploading: 0%


Complete. Click "Add" to insert your video. Add



Related Questions:

1 Answer

Java program jack poy

restore using control panel use the utility system restore and put the last days that you know the sound was working Good.
God bless you

Jul 20, 2013 | Ultimate Sound COMPUTER ABS | Ultimate V1...

1 Answer

Write a programe that display the factorial of a no using while loop with output & explaination

I can show you in both Java and Python. Since you said you want a while loop I will skip how to use a for loop. Since you did not specify, I will assume you are not taking input from a user but simply typing it into your code. I have written the codes, commented them and uploaded them to pastebin.

In Java

In Python

Hope this helps!

May 01, 2012 | Borland JBuilder X Enterprise...

1 Answer

How to use goto un java?

GoTo statement are not available in Java Rep)
1) Goto statement decrease readability of a program.
2) Goto statement may from Infinite loop
3) Goto's are not part of Structured programming
4) Goto statments make documentation difficult.
A goto statement can cause program control to end upalmost anywhere in the program,for reasons that are often hard to unravel ,However almost always, there is a more elegant way of writing the same program using if,for,while and switch. These constructs are far morelogical and easy to understand.
This is seldom a legitimate reason for using got, and its use is one of the reasons that programs become unreliable, unreadable.

goto is a keyword in java which you cant use in code.i guess if you use goto, you will get compiler error

Jul 30, 2011 | Sun Computers & Internet

1 Answer

Wirte a pogram in java using for loop,that will print out the first 1 numbers of a fibonacii series that is:1 1 2 3 5 13 21 34 55

package com.gpt;

import javax.swing.JOptionPane;

This program computes Fibonacci numbers using a recursive
public class Fibonacci
public static void main(String[] args)
String input = JOptionPane.showInputDialog("Enter n: ");
int n = Integer.parseInt(input);

for (int i = 1; i {
int f = fib(i);
System.out.println("fib(" + i + ") = " + f);


Computes a Fibonacci number.
@param n an integer
@return the nth Fibonacci number
public static int fib(int n)
if (n return 1;
return fib(n - 1) + fib(n - 2);

Feb 24, 2011 | Sun Java Programming Language (cdj-275)

1 Answer

Is java perfect for projects or I must use VB.Net !please help me

yes java is perfect need not any other language if you have full command on java. okay for more info about programming just mail me at

Aug 19, 2010 | Microsoft Windows XP Professional

1 Answer

The loop and the manual tone store functionality !

Usually the loop in is used with an EXTERNAL effects module where the audio signal is "looped" out through the external effect module and then back to the power amp to drive the speaker in the cabinet. The LOOP IN jack would receive signal from the EFFECTS module OUT jack.

The source to go TO the effects module INPUT may come from a jack such as preamp out, or sometimes the same loop jack if it usess the TRS (Tip-Ring-Sleeve) connection method.

If you do not have an external effects module, all this is a moot point in your case.

Jul 17, 2010 | Marshall MG100HDFX 100-Watt Amplifier Head

1 Answer

How to convert infix to postfix using stacks in java programming?

u can try the follwing coding
import java.util.*;
//begin coding for the stack interface
interface Stack<E>
public boolean isEmpty();//tests is current stack is empty. Returns true if so, and false if not.
public E top() throws StackException;//retrieves value at the top of the stack. Stack cannot be empty.
public void push(E value) throws StackException;//pushes a value on the top of the stack.
public void pop() throws StackException;//removes a value from the top of the stack. Stack cannot be empty.
}//terminates coding of Stack interface

//begin coding for the objArrayStack class
class objArrayStack<E> implements Stack<E>
public objArrayStack()
}//terminates constructor
public void push(E value)throws StackException
if(topValue<ArraySize-1)//currrent stack is not full
}//terminates if
else //current stack is full
throw new StackException("Error: Overflow");
}//terminates push method
public void pop() throws StackException
if(!isEmpty())//current stack is not empty
else //stack is empty
throw new StackException("Error: Underflow");
}//terminates pop method
public boolean isEmpty()
return topValue==-1;
}//terminates isEmpty method
public E top() throws StackException
if(!isEmpty())//stack is not empty
return (E)Info[topValue];
else //stack is empty
throw new StackException("Error: Underflow");
}//terminates top method
//declare instance variables
final int ArraySize=10;
private Object Info[]=new Object[ArraySize];
private int topValue;

//begins coding for the StackException class
class StackException extends RuntimeException
public StackException(String str)
}//terminates text of constructor
}//terminates text of StackException class

//method to convert from infix to postfix notation
public static String InToPost(String infixString)
//operator stack initialized
objArrayStack<Character> operatorStack = new objArrayStack<Character>();
//postfix string initialized as empty
String postfixString = " ";
//scan infix string and take appropriate action
for(int index = 0; index < infixString.length(); ++index)
char chValue = infixString.charAt(index);
if(chValue == '(')
else if(chValue == ')')
Character oper =;
while(!(oper.equals('(')) && !(operatorStack.isEmpty()))
postfixString += oper.charValue();
oper =;
}//end while loop
}//end else if
else if(chValue == '+' || chValue == '-')
if(operatorStack.isEmpty()) //operatorStack is empty
else //current operatorStack is not empty
Character oper =;
while(!(operatorStack.isEmpty() || oper.equals(new Character('(')) || oper.equals(new Character(')'))))
postfixString += oper.charValue();
}//ends while loop
}//end else
}//end else if
else if(chValue == '*' || chValue == '/')
Character oper =;
while(!oper.equals(new Character('+')) && !oper.equals(new Character('-')) && !operatorStack.isEmpty())
postfixString += oper.charValue();
}//end while loop
}//end else
}//end else if
postfixString += chValue;
}//end for loop
Character oper =;
if(!oper.equals(new Character('(')))
postfixString += oper.charValue();
}//end if
}//end while
return postfixString ;
}//terminates text of InToPost method

public static void main(String[]args)
objArrayStack mystack = new objArrayStack();
System.out.println("Enter a string");
Scanner scan = new Scanner(;
String str = scan.nextLine();
}//terminates text of main method
}//terminates text of objArrayStack class

Mar 16, 2010 | Sun Java Programming Language (cdj-275)

2 Answers

Java won't load on my computer

id suggest that you uninstall java and delete the folder from the hard drive after you uninstall it from the computer, and then clean the registry of any instances of old keys associated to java,then redownload and reinstall java fresh,be sure its the right version for your Vista ( home,Bussniess) Hope this Helps Steve

Oct 01, 2009 | Computers & Internet

11 Answers

Java programming

I ll give you some reference book names for core java they are the best,

1)Head First Java by Kathy Sierra & Bert Bates

2)SCJP 5.0 by Kathy Sierra & Bert Bates

the first one is the best for the beginners read it before you go for any other

good luck

Aug 14, 2008 | Sun Java Programming Language (cdj-275)

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

128 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18386 Answers


Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides