• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reorganizing lines of code  RSS feed

 
Dan Good
Ranch Hand
Posts: 49
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey there,

I have to reorganize these lines of code so that the program compiles, did as much as i could figure out so far, any one else see what's wrong?

There's a misplaced constructs error on line 3.

And a multiple errors on line 9.

 
Louis Denning
Ranch Hand
Posts: 64
4
C++ Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Like this?
 
Dan Good
Ranch Hand
Posts: 49
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey yeah, thank you so much, found it, forgot to import!
 
Campbell Ritchie
Marshal
Posts: 56533
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is that code from?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!