• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Identifier error, my assingments due by midnight! Please help :D

 
Nick Harms
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help, at the end in this line

System.out.println("The area of your room is " + area.);

I am getting an error for an identifier expected, please respond, this is due by midnight.
 
Maneesh Godbole
Saloon Keeper
Posts: 10976
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nick,
Welcome to the Ranch.

In future, while posting code, please UseCodeTags
 
Maneesh Godbole
Saloon Keeper
Posts: 10976
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

What is the period (.) doing after area?
If you want to be grammatically correct , you should have

 
Nick Harms
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maneesh Godbole wrote:
What is the period (.) doing after area?
If you want to be grammatically correct , you should have



Thank you so much!! I'm sure you'll hear from me in the future, love the site.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe start sooner next time, though.
 
Nick Harms
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:Maybe start sooner next time, though.

I had the bulk of the problem done friday, but my teacher was out of town, so she couldn't help me, so I finally found this site to help me out, all I had to do was add the quotes and the + sign and I was done.
It's not like I was procrastinating. :D We usually get stuff like this we only have 24-48 hours to finish.
 
Campbell Ritchie
Sheriff
Pie
Posts: 47300
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic