Asking for a help in writing an algorithm program

I am asking for a program that takes as an input an integer and print out the prime numbers btw 0 and the input integer .
For exemple , if we do input 20 , the program should print out :
2
3
5
7
11
13
17
19

you didn't answer the second important question:
What problems are you running across?
if you really don't want to do any of your own work, you could always take Ade's great suggestion and use Google:
http://www.google.com/search?complete=1&hl=en&q=prime+number+generator+java&btnG=Google+Search

Similar Messages

  • HT202605 I am asking for your help to unlock an iphone 5

    Hello, I live in Ukraine in the city of Lviv. I am writing with hope that you can help me with this matter. I am asking for your help to unlock an phone 5 which I bought from Ebay and did not realize that it was blocked. Now that I paid for it and it is locked, I feel very frustrated and there is nothing much that I can do. It was suppose to be a Christmas gift which was meant to be for my wife. She also feels upset that I haven't checked it when buying. I am kindly asking for your understanding and help to unlock this phone. Info: IMEI ***** serial F2*****TTN     I repeatedly wrote to the company Tellus what was the phone to help me unlock the phone but they are not interested! Told apply to private companies silt to you! Help me please!   
    Sincerely,  My contact details *******
    <Personal Information Edited by Host>

    You've now posted at least three times now and have been given the same answer every time. You've also had your posts editied for personal information every time.
    We cannot help you get past the Activation Lock, only the person to whom it is locked can. We cannot help you unlock the phone from a carrier; only the carrier to which it is locked can.

  • How come I'm not asked for password for every app purchase, app auto downloads once I tap install, not good when my kids start buying apps because they are not asked for password, help!!

    How come I'm not asked for password for every app purchase, app auto downloads once I tap install, not good when my kids start buying apps because they are not asked for password, help!!

    Thank you for the help, have sorted it through Restrictions in General settings now : )
    No more mysterious app purchases on my c.card now thank god !!
    You would think they would set as default that Password was required - Imediatly . But they know there likely to get more purchases the way the default set it..
    Thanks again for prompt reply!!!

  • Why is it ok for a verizon wireless service representative to lie to a customer? I went over my monthly data and i called to ask for some help with the overage because i was barely over. They told me they would take care of it and sold me on a shared data

    why is it ok for a verizon wireless service representative to lie to a customer? I went over my monthly data and i called to ask for some help with the overage because i was barely over. They told me they would take care of it and sold me on a shared data plan that would result in 2gb less data but told me i would save 20$ a month. I agreed and recieved my next statement and to my suprise my bill actually went up 15$ a month and i talked to several people and they all told me there is nothing that can be done to get back on the plan i was on and they can not even give me a discount to get me back to what i was paying. They can only offer me a convenience credit. I will be cancelling service.

    ajwest101,
    We do not want to see you go. I truly apologize for any misinformation regarding your plan. Let's investigate into this a little further. What plan were you on? What plan were you switched to? If you look at the detailed billing online of your previous bill do you see any additional charges other then the plan?
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • Sir/maam, i am kenneth. i both an ipad for my mom. i register it in icloud. my concern is that wen i restore my mom's ipad, apple is asking for the registered email and password. i forgot those details i put on it that's i decided to ask for your help.

    sir/maam, i am kenneth. i both an ipad for my mom. i register it in icloud. my concern is that wen i restore the ipad, apple is asking for the registered email and password. i forgot those details i put on it that's i decided to ask for your help. only thing i remembered is the apple id that i made for her.

    Go to http://appleid.apple.com and click 'Find your Apple ID'. Follow the instructions and hopefully you will be able to identify your ID.

  • Student account for Adobe CC - downloaded and worked but only for TRIAL - now asks for license - how do I access the programs? I was given a redemption code (apparently redeemed already). How do I get the licensing code?

    Student account for Adobe CC - downloaded and worked but only for TRIAL - now asks for license - how do I access the programs? I was given a redemption code (apparently redeemed already). How do I get the licensing code?

    Ask whom/wherever you got the redemption code from for one that has not already been used.

  • I had asked for some help with ICloud  3 weeks ago but no one answered, cloud has my old email and will not let me sign in my Iphone has not backed up in 9 weeks probably same for my iMac cannot even et to my photos. HELP please  Sandie P

    Had asked for help with iCloud 3 weeks ago.  Cloud has my old email and I no longer know the password, wont't let me sign in with new email.  When I talked with apple cust service they assured me that everything associated with apple would change over.  NO it did not! Cannot find how to get cloud to change this. My Iphone says I have not backed up in 9 weeks because of iCloud.  Can anyone help me or give me some advise please
    Thank you so very much
    Sandie P

    Same thing happened to me. My son's iPod touch suddenly started indicating that my "username or PW had changed" or was "incorrect" so I paid Apple $30 to find out that all that was required was updating the software by plugging his iPod into my computer &amp; syncing with iTunes. My problem was then solved.

  • I never set a restrictions passcode but my ipod is asking for one help?

    Can anyone help me? I'm trying to do a reset of all settings but it asks for two passcodes, my normal one to unlock my ipod but then it asks for a second passcode called a restrictions passcode but I never set one.

    What do mean by full setting reset?
    A few other users has said that they had a Restrictions passcode but they said then never set one. Two possibilites.
    - A glitch set one
    - Someone got hold of yur iPod when the screen lock was off and added one.

  • Hi i have asked for this help before and it was fixed but cant remember how to do it My ipad has lost sound in certain apps and general typing i remember fixing it through the settings can any one please help it not the mute

    Hi I have had this problem before butr cant remember how to fix it . What has happened is certain apps have no sound where as others do I also have no sound when typing.I remember when i last asked for help with this problem it was done through settings. It not on mute Please help me.

    You can enable keyboard sounds via Settings > General > Sounds . If they are enabled but you can't hear them then have you checked that you haven't got notifications muted (which will also affect most apps) ?
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon far left; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085

  • Audigy 2 SPDIF output - again, asking for any help.

    Some time ago I asked question about my Audigy 2:
    [size="">Hi, I am using Audigy 2 soundcard connected to Altec Lansing ADA885 speakers. These speakers have built-in Dolby Digital Decoder, and of course SPDIF input for this. Additionally, they have inputs for analog front and rear speakers signal. They can be switched to different operation modes : Dolby Digital decoding, Dolby ProLogic decoding, stereo, and quad modes. I have connected them to my Audigy 2 using analog connections, and also digital output. The problem is, that they process both kind of inputs (analog and digital) all the time in most modes simultaneously. For example, when I set them to "quad" mode (for gaming) they process analog signal that Audigy deli'vers them, but also they attempt to decode the signal from digital input. This produces some kind of phase distortions (basses dissappear and the sound becomes slightly muffled). Possible solutions could be : - disable digital decoding in speakers when using analog output from Audigy - this can't be done, these speakers' decoder is not configurable, - disconnect digital cable when using analog output from Audigy - obvious solution, however not very comfortable - disable "ON-DEMAND" spdif output on Audigy card and enable it when necessary. This would be most satisfying option for me. But.... is it possible at all ? Just something similar to the "Digital output only" setting in soundcard panel, but in my case i'd like to have an option of "Analog outputs only". Thanks in advance for any help <img title="Smiley Happy" alt="" src="http://forums.creative.com/i/smilies/6x6_smiley-happy.gif"> Greetings, Martin
    No-one answered me, unfortunately
    Yesterday I moved to Vista Ultimate and newest set of Creative Drivers.
    To my surprise, there is an option of SPDIF output volume and mute in system mixer. However, it also doesn't work.
    Can anyone confirm, if I can mute digital output whenever I want ?
    Best regards,
    Martin

    Glad to hear that I'm not the only one experiencing such pain with this card.
    After 3 connectors, I have my SPDIF of my Audigy 2 ZS connected to my Recei'ver and passing sound. However, it is NOT passing the 5. AC3/DTS stream. Playing a movie through Media Center 2005, if Dolby Digital 5. is selected, I hear the movie, but the Recei'ver does not indicate it is in Dolby Digital (like when I play it through my standalone DVD Player). When selecting DTS in the Audio Options of the DVD Menu, I hear no sound at all.
    I have a minijack to RCA Stereo connector with a Digial Coax cable going from the White connector to my Recei'ver Digital Coax Input.
    I have set the Device Decoding Options for SPDIF Passthrough.
    What am I missing? This is going on a week now to get something going that worked right out of the box with a $40 DVD Player. And the $40 DVD Player sounds better than this $00 sound card....because it passes the AC3 stream flawlessly.

  • Asking for Slideshow Help

    I'm having a problem with a slideshow I'm trying to recreate to make some small changes. The original flash video is at the bottom of this page...
    http://www.fsip.biz/About.html
    I don't have the original .fla file, and I did not create it.
    I'm relatively inexperienced with Flash, and I'm at a point where I'm stuck with this. I can do all of the transitions and such, but I'm at a loss for how to do the navigation, i.e. the stops, next/back buttons, and the start slideshow over button.
    Should I be setting this file up as a slideshow presentation? If so, do all of the buttons & stops go on the main presentation slide? Any advice as to what actions I should be using for the navigation?
    Thank you in advance for any help, I'd really appreciate it.

    1.Whats your OLD OS...Version? and the NEW ?
    2. OLD OS is 32bit version or 64 bit version? and for the NEW?
    2. OLD Raid configuration? and for NEW?
    Just three days before we changed a server and the stoHow did you move to the Another server? What method was used to migrate across servers?

  • Have just reinstalled PE12. Trying to access Editor - asks for ADOBE ID which I enter but program does not load.

    Had problems with having the serial number acknowledged by the Photoshop Elements 12 (Organiser worked fine but Editor wouldn't open).
    Chat support suggested I delete and reinstall program from an Adobe website download link.  Have done that and now have slightly different problem.
    Organiser still works fine but Editor asks for ADOBE ID which I enter but editor program does not load.
    ADOBE website clearly confirms the product is registered against my ID.
    Chat support now saying that they no longer provide support for PE12 Editor - only 13!
    This is in direct conflict with the support advertised in the product's "Getting Started" brochure.
    Only purchased PE 12 a couple of months ago (just prior to PE13 release) - find that this is pretty poor service.

    Sandeep,
    Thank you for your advice, but this is way too involved for me. Please forgive me, but I do not feel comfortable doing this on my own. I really need a live chat or phone help!
    I just uninstalled PSE 12 through control panel and yet in Windows Explorer I see it listed under the Program Files (x86)/Adobe. Photoshop Elements 8.0 is also in that directory. I have been trying to uninstall PSE 8 but keep getting error 1316. To further complicate the situation when I tried to reinstall PSE 12 yesterday I got a message that I needed to create a new folder. So I have Program Files (x86)/Elements 12 Organizer now even though I just uninstalled PSE 12.
    I am so confused and frustrated! I have wasted 3 days trying to resolve this. PSE 12 was working great until a few days ago. I do have a backup of my catalog on an external hard drive. I just need to talk to someone on the phone or a live chat.

  • Mainstage asks for serial number everytime I start the program :(

    I just upgraded my laptop to one of the new i7 macbok pro and installed logic pro 9 on it. Now Mainstage asks for my serial number 95% of the time I start up the program. Logic works fine and does not display this behavior. For one day I started logic first then used Mainstage and it didn't ask for the serial. I thought it was fixed but today it asks for my serial everytime I open up Mainstage 2.1.1 One of the times it asked for me to register with Apple and send them my info. I have already done this yet I turned on airport to send it again. This did not help.
    Why does it continue to need the serial number everytime I start up.
    Why the erratic behavior conserning this issue?
    I only have logic pro 9 installed, Soundtoys plug-ins, and Melodyne. This laptop is to be an audio only machine for stability. That's why I want airport off. Could that be causing the problem? It ***** I'm having problems even on a stripped down, no internet, brand new top of the line Macbook pro.
    Extremely frustrating after spending my life savings on one of these laptops
    Any help would be extremely appreciated!!
    Todd

    This is still a problem. I thought it was solved before but it came back. After contacting Apple support and spending hours spanning multiple days they realized this is a bug. Here is the current reply from tech support:
    Hello Todd, I'm afraid you will not be notified
    directly if/when the serialization issue is resolved.
    Regarding troubleshooting your system, you could
    keep the Activity Monitor up and running when you
    are using MainStage, set to show All Processes,
    and see if you notice any spike in CPU usage of
    one of the process that corresponds with when a
    spike occurs in MainStage.
    Sincerely,
    David Paulson
    Apple Inc.
    So according to apple they MAY fix this bug. "IF" it gets fixed. I spent top dollar for the latest macbook pro i7, and I purchased my own copy of Logic pro. I find this heartless reply to me, the customer very saddening. Randomly Mainstage and Logic will continually ask for me to enter my serial number and maybe one day there will be a fix or it could be an indefinite issue? ....and that's it case closed?
    I am one very very unhappy apple customer. If you are planning on purchasing a top of the line macbook pro to use Mainstage problem free in a live concert setting then you could be in for extreme frustration with a large dose of buyer's remorse:(
    -Todd

  • How to make a program that will ask for a name the first time the program is used and if is not the first time will not ask the name?

    I want to make a program that will ask for the ID of the testing machine the first time the program is running, then will never ask for it. I'm using Labview 6.0

    Hi
    There are a Couple of methods you can use for this.
    Method 1 -
    You can create an ini file and save a boolean Key "First Instance" as True. Now In your Program you read this Key, If it is True then you can show your ID Dialog VI.If False do not run the VI. At the Conclusion of Id Dialog you can update this registry enrty to False. So In effect you have created One time Event. In fact you can save ID as another Config entry.
    The Drawback and advantage is that such an INI file can be edited by someone moderately knowledgeable about the Program
    Method 2
    Use Unitialized Shift Register in A while Loop. Please see LV2 style Globals entry under this forum. You can read and write to this Variable and it retains the Value it last had within it.
    You can read
    this Global the Very first time and say if it true you display your ID Vi. If False you dont. When you display your ID Vi you can Update your Global Like Before.
    If you need Example Let me Know.
    Good Luck
    Mache!!
    Good Luck!
    Mache

  • I lost my original disk for photoshop 7... I need to update.. it won't let me.. and keeps asking for the disk.. even though the program is on my pc... How can i get my update?

    I have photoshop 7 on my pc but have lost my original disk.... I went to update it and  the update is not seeing the file on my pc... and it keeps asking for my disk.. but i can't find it...
    How can i update it...

    Ah, you had Photoshop 7.0 working, and now it's not.  I see that as a separate issue to updating it.  I'm not sure why it would ask you to update it.
    Do you know whether you have 7.0 or 7.0.1 at this point?  You might be able to do a Properties function on Photoshp.exe and see that info.
    You could make an attempt to reset Photoshop's preferences to defaults.  Press and hold Control - Shift - Alt simultaneously immediately upon cold-starting Photoshop. If you get the keys down quickly enough - and you have to be really quick - it will prompt you to confirm deletion of your current preferences, which will lead to the establishment of a fresh default set.  If it does not prompt you, you haven't been quick enough to get the keys down.
    Only other thing that comes to mind is to use Windows System Restore to restore back to a restore point where Photoshop was working, or restore from a backup (you do make backups I hope).
    If that fails, and you need to do a fresh install but no longer have the original disk and serial number I'm afraid you may be out of luck.  There's no place I know of from which to download a fresh full copy of Photoshop 7.0.
    -Noel

Maybe you are looking for