Hii all,
I have an assignment in my java course and i just did the required 1 , and the else is very confusing for me , I'll be very appreciate if any one could help me for 2nd required and then ill try again in the rest .
<URL SNIPPED>

Edited 5 Years Ago by peter_budo: Broken link removed

I don't know what "else" you are talking about. Please post the content instead of link to a file... Also, do not expect that people here will do it for you. You need to show your afford and your code first.

Edited 5 Years Ago by Taywin: n/a

i never said that i need peoble to do my assignment , I just need the idea , what i know when iam using for Loop i have to make it like this for(int i = 0 ; i < 10 ; i++)
and if like this : int x = 0 , if(x == 0 ) so do plahh plahh ....
so how to make a compentaion with for and if in one sentense and make the 2nd one in my assignment in the same time , i just need the idea , and iam really sorry for disturb

for(int i = 0 ; i < 10 ; i++){
  if(x == 0 ){
    System.out.println("Zero");
  }
  else if(x == 1 ){
    Syetem.out.println("One");
  }
}
This question has already been answered. Start a new discussion instead.