i just need one like if a is greater than or equal to 70 it will stop ..

if you mean the condition at line 40 then it's because if any of the condition remains true then it will continue to loop (if any of the variables is less than or equal to 70)

At line 9 change the sign from "&2s" to "%s"

I may be complicating things here but as I understand your original requirements require that the original contents of each index should not be modified. Still the indeces' value will change if we were to use pass by reference or value such as swapping the values of the indeces.

The problem with linked list is it could be overkill to implement as a solution for your problem (e.g. keeping track of the head node), if this is homework you might want to clarify a few things before jumping to coding.

are you familiar with using a runnable interface so you can continuously repaint the object?

on a side note... it might be my laziness talking but if it were me I'd just use several images of pacman pertaining to a direction instead of writing code to draw the shapes. Then I'd call and paint a selected image depending on which key is triggered

just modify the pointer array so that the original content of the array will not be changed.

by this statement I was thinking of dynamically creating the array and linked them together so you can traverse and sort the array by modifying each nodes connection so there won't be a need to change the original values of each node

I had in mind something like this for array creation (note: just an example so it won't compile without errors):

typedef struct _array
    int value;

/*  to create a linked list */
typedef struct _linked_list
    array sample;
    struct _linked_list *next;  

linked_list head = NULL;

int main(void){
    linked_list ptr = NULL;
    linked_list temp = NULL;
    int i;
    for (i = 0 ; i<5 ; i++){
    temp = NULL
        if(head == NULL){
            temp = malloc(sizeof(struct _linked_list));
            temp->sample.value = someValue; //get the value
            temp->next = NULL;
            ptr = head;
            temp = malloc(sizeof(struct _linked_list));
            temp->sample.value = someValue; //get the value
            temp->next = NULL;
            ptr->next = temp; //link this node toprevious node
            ptr = ptr->next; //move to current node

    /*then implement a sorting algorithm where you manipulate the nodes' connection by changing where a nodes next pointer will connect*/

    return 0;

are you using a linked list for that int array?

I'm trying to figure out how to get it that if one of them or all of them or a few of them are equal to 0, how can I get it to not print them on the order form

try using different combinations for the variable's conditions so you can show specific results

if($LAPTOP!=0 && ( $MONITOR!=0 || $SOMETHING_ELSE!=0 ) ){
    echo "Laptop's value is not zero and either monitor or somethings else's value is not 0";
else if ( ($LAPTOP!=0 &&  $MONITOR!=0 ) || $SOMETHING_ELSE!=0 ) ){
    echo "either both monitor and Laptop's value is not zero or somethings else's value is not 0";


how about printing those first two numbers before entering the loop since they're static output for all fibonacci cases

hint: use simple if else or case conditions for the method or use regEx if you want to deviate from the norm a bit :)

you forgot to post the error messages
So with just this code here's my comments
line 50: If this is an issue, I don't see a sqrt() method perhaps you want to use the Math.sqrt() method or is there one defined in the GeometricObject class?

Next (which is probably the main problem), your missing an operator between these parentheses (base2 - base1 )(base2-base1) on the same line 50.

" optoin "
spell check

your missing the starting curly brace of the main function

also will this program work correctly???

it "should" work but it doesn't match your requirements
at your loop you didn't prompt the user for input again

*judging from recent posts

your array expects an integer and searchName is a String

line 47 : at your function call your not using the array as your first parameter

other than removing the unsupported conio.h from the code I was able to run the code completely without stopping at accepting input for friday... mayhaps you want to remove those unnecessary curly braces

When printed, the weight is only the number calculated and not the weight minus the weight burned.

are you talking about variable weightLostEasyWO... i'm confused
if so the variable weightLostEasyWO scope only exists on that function, either make it a global variable or declare it at main and pass it by reference to the func., etc.
or it could be that in main your not saving the value returned by the function easyworkOut

also @ line 8 all code after the return statement will be ignored

what's your question about the problem?

(i am looking to a Java editor, if you guys know of one, tell me)

popular IDE's would be:

  • Netbeans (I most often use this since it's helped me in a lot of projects, used it in a long time to learn how to use it efficiently and I found it useful for other prog. languages related to my studies)
  • Eclipse
  • IntelliJ

I see that you'll follow using Vmware as an alternative so just to give a possible answer for the first question, as a reference here's a link for a Windows installer for ubuntu called Wubi
https://wiki.ubuntu.com/WubiGuide for a config/installation guide

It's been a lot of hours since you initally posted this and there hadn't been a reply pertaining to a possible solution to your problem so I guess it's time to say that you should try the minecraft forums, this should get a lot more attention there

Do you have the latest version of flash installed and running as an add-on on IE9?

The code you posted is different than the program details from your first post, care to explain?

the first one checks for order if it's greater than, less than or equal to the object it is being compared with and returns a specified value given the result

the equals method checks for the equivalence of the objects with their values

the == works similarly as the equals method but it also checks wether the references to the object are equal

my opinion is since you only need to check if the list have duplicates the first option wouldn't be necessary
if the list contains elements that have primitive data types use '==' else use equals method
you can test each option and see for yourself which is appropriate, if you have doubts you can always check the API

i think japple already has build in double buffering'

it's something you implement for your program
if you want a built in implementation you can use BufferStrategy

I'm a bit confused on what you want, do you want to output a list of prime numbers whose range is upto the input or check if the input is a prime number or something else entirely?

When i create a window in netbeans, it actually creates a JPanel but not JFrame.

huh.. A JPanel instead of a JFrame?
Are you sure you used the Java Swing -> JFrame option when you created a new Java File

you haven't started the thread, add this on your start method

Thread th = new Thread (this);

The list probably contains the recent active members or members with high amount of posts/ reputation/solved threads from the forum your most active with