Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: can you pls help me in this java programming? code=java

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question can you pls help me in this java programming? code=java

    hi,Can anyone help me out in the logic for this program. A good application is defined if it fulfills the following conditions. 1. Application name cannot be null 2. Rating should be beween 5 and 8 inclusive. 3. Application should be compatible with atleast two devices from the list "Andorid", "BlackBerry", "Nokia", "iPhone". 4. Number of copies sold should be more than 4000. 5. If the rating is less than or equal to 5 but greater than or equal to 3 then it should be compatible with atleast 6 devices. 6. If it is not an utility application then number of copies sold should be more than 8000. Write a method: boolean isGoodApplication(String appName, boolean isUtilityApp, String[] compatibleDevices, int rating, int sale) AppName Name of the application Compatible devices Devices which are compatible with given application For example "Nokia", "BlackBerry" Rating Rating of the application out of 8 Sale Total number of copies which are sold isUtilityApp Whether the application is utility based application. can any one help me in this programe in java?


  2. #2
    Super Moderator curmudgeon's Avatar
    Join Date
    Aug 2012
    Posts
    1,130
    My Mood
    Cynical
    Thanks
    64
    Thanked 139 Times in 134 Posts

    Default Re: can you pls help me in this java programming? code=java

    We can help, but first I think that you will have to help us out to allow us to be able to help you. All you've posted so far is your assignment without any specific question. Please tell us the details of your problem, exactly where you might be stuck, what you've tried, how it doesn't work, anything that can give us a clue as to just what might be wrong.

Similar Threads

  1. Java Assignmet - pls help
    By Bucki in forum Java Theory & Questions
    Replies: 3
    Last Post: January 22nd, 2012, 10:58 AM
  2. JAVA HELP PLS!
    By warook in forum What's Wrong With My Code?
    Replies: 3
    Last Post: December 8th, 2010, 01:00 PM
  3. Java mailer programming code problem
    By shadeslayer88 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 1st, 2010, 01:21 AM
  4. Robo Code - The funny Java Programming Game
    By Freaky Chris in forum The Cafe
    Replies: 20
    Last Post: October 8th, 2009, 03:42 PM
  5. Replies: 5
    Last Post: September 6th, 2009, 04:39 AM