Can someone please answer this question?

Hi, I'm new... I've been up all night trying to figure this out..
I imported the java.io.BufferedReader...
And I understand that when you have to input a NUMBER, you type this:
input = console.readLine();
double number = Double.parseDouble(input);
What I really need to know, is what do you type when you need to input a STRING, not a number?
I really do appreciate your help.. thanks!!
: )

Paycheck p1 = new Paycheck(name, wage, hours);
System.out.println("Enter employee name: ");
String input = console.readLine();
System.out.print("Enter employee wage: ");
input = console.readLine();
double wage = Double.parseDouble(input);
System.out.print("Enter employee hours: ");
input = console.readLine();
double hours = Double.parseDouble(input);It might be because you're overwriting your 'input' variable. Maybe try
String name = console.readLine();

Similar Messages

  • Can someone please answer this question!!  re:  bootcamp 3.0 from dvd

    does anyone know if bootcamp 3.0 drivers are the same on all OEM DVD's?
    the reason i'm asking is because i had to do a bootcamp install for a friend on her macbook late 2009 and she didn't give me her dvd, so i pulled bootcamp 3.0 off of my macbook pro (mid 2009) install dvd. i've done the 3.1 64 bit update as well, and manually installed some drivers to get the sound and network adapter working.
    i know supposedly the dvd's are machine specific, and i know that with windows 7 x64 there are lots of outdated drivers, and i know the two machines have some hardware differences...
    but it also looks like bootcamp 3.0 has bundled all kinds of extra drivers just in case, so it's hard to tell if each dvd has it's own bootcamp 3.0 that's machine-specific.
    reason i'm asking is that after all the hacks and workarounds, i've got windows 7 x64 basically running ok on this macbook unibody white, but it doesn't seem to work as perfectly as a similar install i did on a macbook pro 15". for example, the trackpad...i don't have functionality for expose for example like i do on the mbp 15. and no headphone audio.
    so i'm wondering if i'm missing some machine specific drivers from my friend's dvd that are not on my MBP dvd..., even though both show "bootcamp 3.0"
    thanks.

    yes, but my point is if they updated Bootcamp on a newer DVD, would it still be called Bootcamp 3.0??
    i'm using my mid 2009 MBP dvd to install Bootcamp 3.0 on a late 2009 white macbook because my friend never gave me her dvd and she lives half way across the city (13 million people).
    i'm not into hacking things, but i haven't seen a single post in this forum where anyone successfully installed Bootcamp with Windows 7 x64 on any machine without having to screw around with drivers to get sound or network adapter working.
    i've posted several questions regarding various things without getting much of an answer.
    i've done many bootcamp installs that seem to function perfectly, but for some reason this one is giving me problems (windows 7 x64 on a white macbook).
    i'm asking general questions now because i suspect maybe the initial windows bootcamp 3.0 install (with subsequent 3.1 update) isn't giving me all the drivers i need.
    i can't confirm this 100%, but i'm still without headphone sound and some other things seem to me a little off. NOBODY that i know of has gotten the correct sound driver from the dvd to work with windows 7, everyone seems to have to install something newer...and from what i've read, the 3.1 update doesn't solve everyone's problems.
    that's why i'm wondering about the specifics of the dvd. if her OEM dvd and her version of bootcamp 3.0 is what's needed from the start, i won't proceed any further and do a complete mac os x and bootcamp clean install from scratch as soon as i get her dvd, but i'm not sure if it will make a difference or not.
    thanks.

  • Can someone please answer this question..... I've asked 15 times with NO answer

    I have a php results file and html index file - and I just want the results to run..
    I learned that this is not possible in BC and that there might be a way to do something different.   ANY HELP?  PLEASE? 

    1128CreativeSolutions wrote:
    I have a php results file and html index file - and I just want the results to run..
    I learned that this is not possible in BC and that there might be a way to do something different.   ANY HELP?  PLEASE? 
    Can't run PHP or any other server side scripts on BC. Please tell us more about your requirement and we may find a BC solution for you.
    Cheers,
    -mario

  • Can someone please answer my question re the new download on my Mozilla Firefox browser called ALOT in how do I delete it as it keeps also producing videos when the computer is not being used. in English

    Recently I seem to have an extension to my firefox program in that I now have a tool bar and other features which all refer to ALOT. Is this harmful and can I delete this and if so how? Also I am running on 3.6.21 am I still ok and will the update be to Version 6 and compatible with XP, please?)

    http://www.exterminate-it.com/malpedia/remove-alot
    http://www.ehow.com/how_5108594_remove-lot-toolbar.html

  • OMG CAN SOMEONE PLEASE ANSWER THIS I REALLY NEED HELP!! MY ITUNES WONT OPEN

    i had to download itunes again because i restarted my computer and deleted itunes from it and i downloaded the new itunes and everything was goin good and it got intalled and the quicktime and itunes icons appeared on my desktop...but when i clicked on the icon 2 open itunes the iTunes Software License agreement poped up quikly and disappeared and everytime i click on itunes it pops up and then goes away and im not able to click the agree button....i have restarted my computer completly so dat it can start fresh and then i download itune but the same thing keeps happenin....omg please help me...this problem has me frustrated i dont know wat to do anymore

    Any help here?
    http://docs.info.apple.com/article.html?artnum=302386

  • Can someone please answer this for me!!!!

    Okay I found all my music on my external hard drive. I have pointed iTunes to the location of the hard drive and the music files. I moved the iTunes.xml and iTunes library file to there as well. It appears iTunes created a new folder called COMPLIATIONS in my music library and alot of my music ended up in there, how can I remove the files from that folder and back into my music library without that whols adding files to the library? Also now half of my music has the exclamtion point on half of them, but the files are in the correct place, how do I fix that as well? Please help me out
    Thanks

    There's no easy solution for your current situation, but keep a few things in mind going forward...
    • The two Library files are hard coded to live in c:\documents & settings\username\My Documents\My Music\iTunes Changing the library location in iTunes preferences will not affect these two critical files.
    • Take care that the external hard drive holding your music files always comes up at the same drive letter, and that it is on-line and available before you launch iTunes.
    I have not seen a Windows utility/script that can rectify the "!"/lost file issue. I also haven't looked for a while - so maybe someone will come along and surprise me with link to something that can do the repair.

  • Can somebody please answer this question about muse

    here is the thread to my original question.
    http://forums.adobe.com/thread/1290038
    Ben
    Thank you

    To be more specific, my question was will having two of these scripts work? And does it make a difference if there is a return space between the two scripts? I am not a coder and don't understand. Can it be explained in a simple step by step process? The properties box would be open, Then paste googles code? hit return, paste Bing's code. if by hitting return closed the properties dialog box, I could possibly re-open, insert curser a line below googles code then paste?
    sorry to be such a newby
    Ben

  • Can someone please put this question to rest?

    So I've been researching this for about 2 days now and I finally want to ask it myself. I have a iPhone 4S and a iPad 3rd Gen, if someone sends me a iMessage to my actual phone number will it only show up on the iPhone? When a contact sends to my apple ID address I receive the message at both devices. Its only when a contact sends using my phone number that the message doesn't reach the iPad. Is this correct and does everyone else have this same experience? I appreciate any feedback.

    Yes, your summary of how it works is correct, at least that is how mine works.

  • CAN SOMEONE PLEASE ANSWER THIS?

    Having searched the forums, I found a few others have been
    asking the same question, but with no reply.
    I can't find a way to contact tech support -- without paying
    -- thought companies still supported folk.
    Question from me:
    Is there a way to save my Preferences in DW 7 and the import
    them into DW 8?
    Typical question from another:
    Can I Copy My MX 2004 Preferences to DW 8? I want to have
    the exact same preferences in DW 8 that I did in DW 7 (MX 2004).
    I am using Windows XP
    Greatly appreciated!!
    folsombob

    > Having searched the forums, I found a few others have
    been asking the same
    > question, but with no reply.
    Each purchase of a "tool" application qualifies for 2 free
    support
    incidents. If the incident is found to involve a flaw in the
    product, you
    are not charged for the incident. Once you use the first
    incident, you have
    a 90-day window within which you must use the second.
    You can contact support by email here -
    http://www.adobe.com/support/programs/dreamweaver/index.html?tab:contact=1
    > Is there a way to save my Preferences in DW 7 and the
    import them
    > into DW
    > 8?
    http://mm-exporter.joexx.de/
    But in the time you have been searching you could have reset
    the preferences
    10 times - it's not like there are so many....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "folsombob" <[email protected]> wrote in
    message
    news:evra3f$cp5$[email protected]..
    > Having searched the forums, I found a few others have
    been asking the same
    > question, but with no reply.
    >
    > I can't find a way to contact tech support -- without
    paying -- thought
    > companies still supported folk.
    >
    > Question from me:
    > Is there a way to save my Preferences in DW 7 and the
    import them
    > into DW
    > 8?
    >
    > Typical question from another:
    > Can I Copy My MX 2004 Preferences to DW 8? I want to
    have the exact
    > same
    > preferences in DW 8 that I did in DW 7 (MX 2004).
    >
    > I am using Windows XP
    >
    > Greatly appreciated!!
    >
    > folsombob
    >

  • What  are the advantages over sql in pl/sql...can you please answer this?

    Hi,
    what are the main differences between sql and pl/sql...why v are using pl/sql rather then sql...can you please answer this question?

    SQL is used to access the database. PL/SQL is a programming language where SQL is seamlessly integrated. In order to access the database in PL/SQL, you have to use SQL.
    Think of it as two pieces of software, two "engines". If you want to interact with the database, then performance wise it's best to use only one engine (SQL only), instead of two (PL/SQL and SQL). If a PL/SQL program executes a SQL statement, it does a "context switch", i.e. saving its state in PL/SQL before giving control to the SQL engine and vice versa. This is quite fast, but do a lot of them and it is slow, so beware of programming SQL statements inside loops.
    Another way to put it: SQL is a fourth generation language (4GL) where you tell what you want, not how. The software, the optimizer, will decide for you how to process the statement. PL/SQL is a third generation language (3GL), or at least the PL-part is, where you describe how things should be processed. Leading to more code and more control. With every Oracle release, SQL becomes more powerful and the optimizer gets better, so using SQL is increasingly important.
    For complex processing, using PL/SQL is still necessary. But use it with care.
    Hope this helps.
    Regards,
    Rob.

  • Will someone please answer this, major iPhone 3GS problem.

    SOMEONE ANSWER ME!!!!!!
    I am almost about to give up hope with this. I have posted FOUR questions with no answers, so someone please answer this one.
    My iPhone 3GS has never  been jailbroken. A couple of months ago now, the bottom half of my iPhone screen became unresponsive so I thought I would try to restore it to see if it would make it alright again. Worst mistake of my life. It is now stuck in recovery mode and will not come out, for anything. I have had various different error messages, i've tried everything. All the software programs, holding home and power and whatever else. Nothing. When trying to restore it, it will come to the last part of the bar and fail. Every single time. I really could do with some help on this one. Please.

    Take a look at this link, http://support.apple.com/kb/HT1414  It's look like your iPhone needs to be repaired, the digitizer is damaged and it could be causing the problem of not letting your iPhone completely restore.  Take your iPhone to your nearest Apple store. 

  • Could you please answer this questions ?

    could you please answer this questions ......
    2. What can you do with the DBMS_LOB package?
    A. Use the DBMS_LOB.WRITE procedure to write data to a BFILE.
    B. Use the DBMS_LOB.BFILENAME function to locate an external BFILE.
    C. Use the DBMS_LOB.FILEEXISTS function to find the location of a BFILE.
    D. Use the DBMS_LOB.FILECLOSE procedure to close the file being accessed.
    3. Which two statements about packages are true? (Choose two)
    A. Packages can be nested.
    B. You can pass parameters to packages.
    C. A package is loaded into memory each time it is invoked.
    D. The contents of packages can be shared by many applications.
    E. You can achieve information hiding by making package constructs private.
    4. Which three are true statements about dependent objects? (Choose three)
    A. Invalid objects cannot be described.
    B. An object with status of invalid cannot be a referenced object.
    C. The Oracle server automatically records dependencies among objects.
    D. All schema objects have a status that is recorded in the data dictionary.
    E. You can view whether an object is valid or invalid in the USER_STATUS data dictionary view.
    F. You can view whether an object is valid or invalid in the USER_OBJECTS data dictionary view.
    5. You need to create a stored procedure, which deletes rows from a table. The name of the table from which the rows are to be deleted is unknown until run time. Which method do you implement while creating such a procedure?
    A. Use SQL command delete in the procedure to delete the rows.
    B. Use DBMS_SQL packaged routines in the procedure to delete the rows.
    C. Use DBMS_DML packaged routines in the procedure to delete the rows.
    D. Use DBMSDELETE packaged routines in the procedure to delete the rows.
    E. You cannot have a delete statement without providing a table name before compile time.
    6. You need to drop a table from within a stored procedure. How do you implement this?
    A. You cannot drop a table from a stored procedure.
    B. Use the DROP command in the procedure to drop the table.
    C. Use the DBMS_DDL packaged routines in the procedure to drop the table.
    D. Use the DBMS_SQL packaged routines in the procedure to drop the table.
    E. Use the DBMS_DROP packaged routines in the procedure to drop the table.
    7. When using a packaged function in a query, what is true?
    A. The COMMIT and ROLLBACK commands are allowed in the packaged function.
    B. You cannot use packaged functions in a query statement.
    C. The packaged function cannot execute an INSERT, UPDATE, or DELETE statement against the table that is being queried.
    D. The packaged function can execute and INSERT, UPDATE, or DELETE statement against the table that is being queried if it is used in a subquery.
    E. The packaged function can execute an INSERT, UPDATEM or DELETE statement against the table that is being queried if the pragma RESTRICT REFERENCE is used.

    It should be good if you try yourself by training your brain to solve these questions and then share them with us to get more help or advice
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Satus bar, please answer this question. thanks

    Which of the following is not seen by the user normally in the status bar of the
    SAP screen
    a. client number/id
    b. session number
    c. data server name/id
    d. user id/name
    e. information, error, and warming messages

    " then why have the £2.99 apps not changed prices? "
    The app developers and Apple can choose to price their product however they like.  Reasons could be market conditions, costs ( legal, taxes, structure, licensing,etc), simple profit strategy, market positioning, etc.  They could just decide that they need more profit.  All businesses have this freedom and exercise it.
    "Looks to me as if I'm getting ripped off. "
    Not any more that with any other product or service you buy.  Everyone prices their product/service as they see fit.  the consumer can then deice to purchase or not.
    "Can you guys at Apple please answer this question? "
    No.  Apple will not respond to you here at all.  This is a user forum.
    They certainly will not explain their pricing strategy to your in any case, just as most any other company does not.

  • Can someone please test this widget?

    Hi,
    (sorry if this is in the wrong forum but I couldn't find a better place)
    Can someone please try this widget?
    http://www.apple.com/downloads/dashboard/information/speciesdistributionmap.html
    The map shows on 2 out of 3 of the macs in the office but we can't determine why it doesn't work on the third... If you can see the map, then it works. We can't spot any difference in the settings on the machines
    Many many thanks!
    Tim

    I have the i7-720 and the processor and I can attest to the W510 overheating. I recently had my planar replaced under warranty and it returned with an overheating issue for heavy processor loads.  This overheating was resolved by properly applying thermal paste (lenovo applied about 3x as much as was needed)  while the GPU continues to overheat and cause stuttering. If I run furmark in any resolution for a length of time at maximum fan speed and watch the GPU overheat, throttle, and overheat again. This would all be fine if it didn't cause the whole system to lag terribly in games or on the desktop.
    In my view the design of the GPU cooler and thermal pads for the GPU memory cooling are very sensitive to installation. The cooler is easy to bend and the pressure clamp for the GPU isn't really designed to a certain tolerance. It's simply a clamp with a bent part that will apply some random amount of pressure to the gpu cooler.
    It's just such a delicate system of cooling that there is too much room for error. It has to be installed correctly in order to function properly and I don't think there is really a good way of making sure that you've done it without running benchmarks for hours after reinstalling the cooler. I don't think this is something Lenovo is going to do. There aren't any options from Lenovo for a better heat sink design and I am pretty sure not everyone is having these issues.
    So I'm going to mess with the GPU cooler until it starts working. Here's a furmark screenshot showing the temps.
    Link to picture
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules

  • HT3523 what does the meaning of "you need to install additional software to open this type of file." did i have to upgrade it or compressed the video or i have to upgrade my macbook? please answer this question. thank you :)

    please answer this question because i can't upload my video cause i can't open it. sooo please answer this question. i'm using macbook white the latest version.

    i had the same problem and i fix it installing ccleaner, it is free and an excellent program. You can download it from: https://www.piriform.com/ccleaner/download
    Once installed, in the tab "Herramientas" (sorry but i have it in spanish) you choose "Inicio" and them you pick CS5ServiceManager then you pick in delete option. Basically you are removing of the startup programs...
    Hoping to be helpful, and excuse my bad english!

Maybe you are looking for

  • Mapping Adobe Font lib fonts to Opentype fonts

    I have a customer that has been using Font Folio on a MacOS 9. Now they are converting to PC and want to use opentype instead. They have bought the library package for Opentype. Is there anywhere a listing of mappings of fontnames from the old librar

  • Every time I open After Effects CC 2014 I get an error message "Out of Memory. ( 23 :: 40 )"

    I don't even have a project open when it pops up. I have tried updating, un-installing and re-installing, restarting my computer, and clearing my cache files. Any help? I am using a Macbook Pro with 10.10.2 installed. 2.2 GHz Intel Core i7, 16 GB of

  • Is this a virus, trojan or what?

    Please see this image: http://img835.imageshack.us/i/isthisavirus.png/ The image is of the top of a os x window with a message box above it. Just to the left of the search box you will notice a "?". When this is clicked on, the message box appears. T

  • Importing Qucktime (Mov) problem in Adobe Premiere Pro CS6

    Hello, I'm haveing a problem importing Quick time files into Adobe Premiere CS6. Whenever I try and import a quicktime mov Premiere becomes unresponsive and crashes does anyone know what the problem might be and how to rectify this issue? I'm useing

  • Ideal input level for mastering limiter?

    Hi, I am mastering my own electronic dance music tracks, and have a question regarding input levels when using a mastering limiter. Typically, I mix down to a 24-bit, 44.1k stereo .wav file with a max peak level of -6 db. My question is this: in the