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 3 of 3

Thread: Hello friends, I'm in big trouble with this programme if anyone can help me out?

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Location
    india
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Post Hello friends, I'm in big trouble with this programme if anyone can help me out?

    Question #

    A phone is considered a good phone if all of the following conditions are satisfied:-

    The manufacturer must be one of Nokia, Samsung, Motorola, Sony or HTC.
    The model name of the phone must be a single word. For example, "Razr", "Omnia" or "N8" will count, but "C6 01", "EVO 3D" or "Xperia Arc S" won't.
    It must have either 'Android' or 'Windows' as its operating system.
    If the CPU is of type "ARMv11" then the cpu speed must be atleast 1024 MHz.
    If the CPU speed is less then 1024 MHz, then it must have a GPU and "Android" os only.
    There should be atleast 30 carriers selling this phone and "Vodafone" must be one of them.
    Write a method:

    boolean isGoodPhone(String model, String manufacturer, String os, int CPUSpeed, String CPUType, boolean hasGPU, String[] carriers)

    model Name of the phone model.
    manufacturer Name of the phone manufacturer.
    os Name of the operating system.
    CPUSpeed CPU speed in MHz.
    CPUType Type of the CPU.
    hasGPU Whether or not the phone has Graphics Processing Unit (GPU).
    carriers a string array representing list of carriers who sell this phone.



    If any one can develop the source code of this logic i'll be greatful to that one...please help me out..!!
    Thank you in advance!


  2. #2
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    661
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: Hello friends, I'm in big trouble with this programme if anyone can help me out?

    Duplicate posts on these forums are NOT permitted.
    Persistent violations will result in action from the moderators, so be warned.

    Do NOT post again in this thread, nor in this one.

    Instead, stick this this thread: http://www.javaprogrammingforums.com...lp-me-out.html
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

  3. The Following User Says Thank You to newbie For This Useful Post:

    jps (September 28th, 2012)

  4. #3
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: Hello friends, I'm in big trouble with this programme if anyone can help me out?

    Thread closed as duplicate and moved from member introductions.
    Last edited by jps; September 28th, 2012 at 08:22 AM.

Similar Threads

  1. BlueJ trouble or program trouble (Combining Arraylists)
    By star12345645 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: March 11th, 2012, 12:15 PM
  2. [SOLVED] I have a problem with this Joption programme.
    By Leprechaun_hunter in forum What's Wrong With My Code?
    Replies: 7
    Last Post: April 12th, 2011, 03:31 AM
  3. help with bookfinder programme
    By kidza12 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: February 9th, 2011, 02:15 PM
  4. Help with my Range Finder programme
    By kidza12 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 3rd, 2011, 01:53 PM
  5. Simple Programme for Date
    By bhavinsparikh in forum Java Theory & Questions
    Replies: 1
    Last Post: August 28th, 2010, 07:24 AM

Tags for this Thread