What expression can I use here?

I'm a novice in Java and started reading a book by Walter Savitch for Java, and it's a great book. But he's used his own method for reading an input. For example he's used the following line to be inputted by the user:
temperature[index] = SavitchIn.readLineDouble();
Now, how can I change the above line so that instead of SavitchIn.readLineDouble() it is something that normal compilers can read? Because this can only be read by the compiler given from his book.
Thank you.
Funky

Why don't you take a look at the source code of that mysterious SavitchIn class and find out what the method readLineDouble() does?

Similar Messages

  • I need to reprogram the delete and enter key to the left side of a external keyboard for the ipad mini. don't need the caps/lock or ctrl key and due to an injury my daughter can only use her left hand to type. She is using a text to speech app to verbaliz

    I need to reprogram the delete and enter key to the left side of a external keyboard for the ipad mini. I don't need the caps/lock or ctrl key. Due to a brain injury my daughter can only use her left hand to type. She also uses a text to speech app to verbalize all of her needs since her speech isn't intelligible any longer either. And her vision was significantly affected also, so the keyboard has to be mounted about 6 inches from her face. So to reach across the keyboard with her left hand to the right side delete and enter button is physically difficult and causes typing errors, which cause people to not understand what shes trying to say.
    The best keyboard so far is the Zagg folio mini. I just had to make stickers to enlarge the letters on the key buttons.
    Does anyone know how I can reprogram these two keys? Or where I can buy a wireless mini keyboard for Ipad made for lefthanders with these two functions on the left side. I have searched for days and days. It's sooooo important to me that she be able to contribute her voice again. Imagine if you got in a car accident and couldn't speak clearly any longer, but understood everything still. Thanks for any help and suggestions you all take the time to share with me. I really appreciate the kindness of strangers to help me help my daughter.
    Sami's mom

    Sami\'s mom wrote:
    I need to reprogram the delete and enter key to the left side of a external keyboard for the ipad mini.
    You cannot.

  • I want to accumulate rain for the day, month and year; What formula can I use?

    I want to accumulate rain for the day, month and year; What formula or expression can I use.
    I am using a Rain Wise product that converts pulses to an analog value.  The Rain Wise device can be
    set to measure up to 1", 5", or 10".  I will be setting the unit to 10 inches in increments of 0.01 inches.
    What I would like to do is everytime the signal increments I would like to count it as 0.01 then after reaching
    a period of time whether it be a day or a month reset back to zero.
    Need some advise on this problem.
    Solved!
    Go to Solution.

    Hello Ryan,
    Lookout gets a Modbus over Ethernet signal which originates as a 4-20mA input to a Moxa Ethernet I/O Module (E1240) in the field.  In Lookout I created a ModbusEthernet Driver and a tag which scales 0 - 65534 RAW to 0-10 Eng.  [0 - 10 is inches of rain]  Also, another piece of information is that after the rain gauge maxes out at 10 inches it will zero out and start over.
    I though the accumulator was time based and took a sample over a specific time period, for instance, one sample every 30 seconds then accumulate.  If this is so then if I have 5 inches of rain and then it stopped raining, then 30 seconds latter it would sample, it would see 5 inches and add that to be 10 inches when actually it had only rained 5 inches. 
    I really need some help with this process,
    David Lopez
    City of Corpus Christi

  • Dead Hard Drive - What replacement can I use for iBook G4?

    I have a
    Machine Model: iBook G4
    CPU Type: PowerPC G4 (3.3)
    Number Of CPUs: 1
    CPU Speed: 933 MHz
    L2 Cache (per CPU): 256 KB
    Memory: 384 MB (Upgraded to 1Gig)
    Bus Speed: 133 MHz
    Mac OSX 10.3.9.
    The hard drive died. What type and manufacrure do I need. Is it a Serial, ATA or IDE? What sizes can I use 40G, 60G, 80G, or 100G?
    Thanks for your help.

    but if your ibook was made before 2003 the limit for hard drives is 128GB any mac made before 2003 has this limit.
    heres a take aprt manual
    http://www.sterpin.net/uk/ddibookg4uk.htm

  • What else can I use beside Compressor?!

    Compressor is now useless to me. Unknown time remaining will not fix. What else can I use? Anyone know?

    Look, we understand your frustration and, since we've been hanging out here a long time, we differentiate newbie issues as separate from actual or legitimate problems by seeking information newbies refuse or simply do not understand how to supply. You've added significant information that will allow us to assist you.
    Compared to the hundreds of thousands of successful and happy Compressor users, "plenty of people" is not significant.
    The next post in this thread suggests your only hope is a complete system wipe and reinstallation. Do you want to try that and report back to us?
    It is useless if it doesnt work and yes I've never gotten to use it. I have used lessons on lynda.com. It's not that I don't know what I'm doing. Try a simpler batch, I was using the simplest of batches. The setting is conventional. I spent time on the phone with 2 different Apple tech people who know compressor. I assure you I have spent the entire day trying to fix this to no avail.
    I've learned that plenty of other people have this same problem with no solution being offered here or from Apple.
    <
    bogiesna

  • What software can be used to manipulate photos on original ipad

    what software can be used to manipulate photos on original ipad

    There are a number of photo apps available in the iTunes app store e.g. the free Adobe Photoshop Express can do some basic editing (you won't get anything as sophisticated as Photoshop on a Mac/PC), and with iOS 5 the Photos app will allow you to :
    Crop, rotate, enhance, and remove red-eye without leaving the Photos app
    Though I'm not entirely sure whether that will apply just to photos taken with the iPad or all photos in the Photos app.

  • What app can i use to download Pandora to itunes nofee

    What app can I use to download Pandora to itunes

    Non-existent.
    Here's something, though.
    http://itunes.apple.com/us/app/pandora-radio/id284035177?mt=8

  • What site can I use to factory unlock an iPhone?

    What website can I use to pay for iPhone unlocking services? I need a secure, affordable and efficient one. I have an iPhone from Verizon and I want to factory unlock it. Please help me out here.

    pvonk wrote:
    The Verizon 4S is a CDMA and GSM dual band phone.  My experience with Verizon is that they will open the GSM module for international travel, but only through their service (in conjunction of partners in Europe, etc.).  It's expensive.  My wife found out when she went to Egypt last year. 
    Verizon does unlock iPhones for international use. However, what you're describing is activating international roaming, (which has more to do with your account than your hardware.)  Yes, that's expensive. If you get the phone unlocked, you can get a SIM from another country and it will be much cheaper.

  • HT3224 What cable can I use to transfer data from a 2008 MacBook Pro to a new MacBook Pro with thunderbolt?

    What cable can I use to transfer data from a 2008 MacBook Pro to a new MacBook Pro with thunderbolt?

    You should also ask this in the MacBook Pro forum. This is the forum for the 13” white and black plastic MacBooks that were discontinued in 2010. You should also post this question there to increase your chances of getting an answer.
    https://discussions.apple.com/community/notebooks/macbook_pro

  • I have a power mac g4 with mac os 10.4. 11 , I want to change the hard-drive ,what program  can I used  to transfer one hard-drive  to another  hard- drive  on this mac pc.

    I have a power mac g4 with mac os 10.4. 11 , I want to change the hard-drive
    ,what program  can I used  to transfer one hard-drive  data to another  hard- drive  on this mac pc.

    The Disk Utility, Carbon Copy Cloner, SuperDuper, or similar software. For best results, place the second drive inside the computer or in a FireWire enclosure and boot the computer from it before removing the internal drive.
    (66989)

  • My mother never opened/registered her AppleCare she bought 1 year ago. I was told I can't use her AppleCare for my 4s I got this month because a newer version has been released, she can't even use it herself. Is this true? Can she get a refund?

    My mother never opened/registered her AppleCare she bought 1 year ago. I was told I can't use her AppleCare for my 4s I got this month because a newer version has been released, she can't even use it herself. Is this true? Can she get a refund?

    Only one way to find out: call AppleCare.

  • What program can I use to...

    What program can I use to screen record things on my mac?

    You can use QuickTime Player. Open QuickTime Player and go to File > New Screen Recording. Also, you can purchase Screenflow in the App Store because it's more advanced

  • I received a ms publisher file what program can i use to open and edit

    i received a ms publisher file what program can i use to open and edit

    There is no program that can open Publisher files except Publisher. It doesn't matter whether you use Windows or a Mac, Publisher files must have Publisher.
    Publisher does not have a Mac version so you will need Windows (and Publisher)

  • What program can I use to open documents

    What program can I use to open documents with; if I am running OSX 10.6.8 and only have Text edit?

    What kind documents of documents do you want to open? Just to read or write too?
    Besides TextEdit, you also have Preview that can display a wide gamut of document types as well.
    As for office documents, may want to download and install LibreOffice to deal with the usual suspects: .doc, .xls, .ppt   http://www.libreoffice.org/

  • What program can i use to type papers/essays on my MacBook

    What program can i use to type papers/essays on my MacBook? (Mac OS X) Version 10.5.8

    IRIS0321 wrote:
    What program can i use to type papers/essays on my MacBook? (Mac OS X) Version 10.5.8
    You can use Textedit, it's on your Mac in the Applications folder, or you can download any of the ones suggested by shldr2thewheel, also Google for Bean, a free word processor for the Mac.

Maybe you are looking for

  • Duplication of data in BI, with 0FI_GL_10" which has a AIED delta process.

    Hi, I need some help!! In my actual proyect, we are using DS "0FI_GL_10", which has a AIED delta process. Someone knows, if this configuration could carry on any type of extraction problem, such as a duplication of data in BI? This is what it is happ

  • Report for Mvt Type 103 & 105

    Dear Gurus, Is there any report which will show the corresponding material document of 105 MVT/ 104 MVT type  for 103 MVT type Material document Regards, Rajesh

  • ICal To Do List appearsin iPod alphabetical rather than due date as in iCal

    I have iCal 2.0.3 on my G4 iBook running OS 10.4.7. When I synch to my 20 GB iPod v1.2.1 via iTunes 6.0.5, my To Do list appears in alphabetical order (which is obviously pretty useless), rather than "To Dos by Due Date" that they're set up as in iCa

  • 17" MacBookPro LCD light problem

    Hi, I hope somebody can help me with this... 2 months ago (may 2011), I bought a MBP 17" 4GB RAM 1GB video, the thing is, I used it normally the last time (I don´t remember if that day installed a new firmware, but I believe I installed one few days

  • MBP i7 question

    Got this MBP around 4 weeks ago. Everything is fantastic, but I saw that my cores were not being fully used when needed. Firstly I was running Final Cut 7 and exporting a movie. I looked at my activity monitor and only cores 1 & 3 were being used (80