Results 1 to 3 of 3
  1. #1
    repooc is offline Member
    Join Date
    Aug 2011
    Rep Power

    Default what am i doing wrong here :(

    I can't figure out what I'm doing wrong. Thanks for the help <3.

    class numbers {
    public static void main (String args[]) {

    int number = 80;

    if(number > 70 ! number < 30)


  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power


    Does that code compile? If not, and you can't understand the compiler message, post that message so you can ask a question about it. ("What does this message mean?")


    A couple of little things: use "code" tags rather than "quote" tags when you post code. There is a # button for this purpose next to the speech bubble one. The class should be named Numbers as Java classes start with an upper case letter: likewise it should be in a file called

  3. #3
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power

Similar Threads

  1. Replies: 4
    Last Post: 06-11-2013, 01:37 AM
  2. can't see where it went wrong..
    By Yakg in forum New To Java
    Replies: 5
    Last Post: 01-31-2011, 12:19 PM
  3. where did i go wrong?
    By Sri Vidhya in forum New To Java
    Replies: 1
    Last Post: 01-27-2010, 03:11 PM
  4. what wrong
    By pro85 in forum New To Java
    Replies: 3
    Last Post: 02-09-2009, 01:07 PM
  5. Can someone tell me what I did wrong??
    By booter4429 in forum New To Java
    Replies: 7
    Last Post: 08-13-2008, 08:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts