Down to 3 errors

but they are all the same error. Could someone please tell me how to fix and why.
Thanks
Steve
class Day5exer1 {
     public static void main(String[] arguments) {
          int yearIn = 2001;
          yearIn = Integer.parseInt(arguments[0]);
          int maxcount = 0;
          String[] month = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"};
     for (int i = 0; i < 12; i++) {
          switch (i) {
               case 1:
               case 3:
               case 5:
               case 7:
               case 8:
               case 10:
               case 12:
                    maxcount = 31;
                    break;
               case 4:
               case 6:
               case 9:
               case 11:
                    maxcount = 30;
                    break;
               case 2:
                    if (year % 4 == 0)
                         maxcount = 29;
                    else
                         maxcount = 28;
                    if ((year % 100 == 0) & (year % 400 != 0))
                         maxcount = 28;
          for (int count = 0;count<=maxcount;count++) {
               System.out.println(month[i] + count);
C:\J21work>javac Day5exer1.java
Day5exer1.java:26: cannot resolve symbol
symbol : variable year
location: class Day5exer1
if (year % 4 == 0)
^
Day5exer1.java:30: cannot resolve symbol
symbol : variable year
location: class Day5exer1
if ((year % 100 == 0) & (year % 400 != 0))
^
Day5exer1.java:30: cannot resolve symbol
symbol : variable year
location: class Day5exer1
if ((year % 100 == 0) & (year % 400 != 0))
^
3 errors

Well, it's pretty self explanatory. The compiler could not find any symbol names 'year'. It looked at the various scopes within the main() method and in the class and yet it could not find one.
Perhaps by 'year' you meant 'yearIn'?
Chuck

Similar Messages

  • Unable to down load file error 1321?

    Unable to down load file error 1321?
    Error_Message

    Hi grahamg,
    Please see my response in your other post: I am unable to download  Acrobat message reads Insuffient prileges to modify the file C:\ Program Files [ x 86] Adobe\ Acrobat 11.0\Acrobatwow_exe.
    Best,
    Sara

  • Just updated my RAM and now iMac shuts down "due to error" when in FCPX

    Hi there,
    So, I just purchased FCPX last week.  Edited one of my projects only to find that my RAM is overloaded and isn't allowing my computer to handle to workload.  Therefore I upgraded my RAM today to the max (16GB). Get my iMac home and up and running, everything looks good. I start up FINAL CUT PRO X, load my Library.....then boom.....shut down "due to error". THREE TIMES.  Below is my system and info on new RAM.  PLEASE HELP ASAP AS THIS IS TIME SENSITIVE!  I upgraded my RAM due to the suggestion that it would solve my slow rendering/choppy video playback in FCPX.
    Thanks. Ashley
    SYSTEM: 21.5 inch iMac OS X version 10.9.4 (Mavericks)
    PROCESSOR:   3.2 GHz Intel Core i3
    STORAGE: 364 GB (out of 999.99 GB)
    MEMORY:  16 GB (was 4 GB before upgrade)

    Your Computer looks to be a Late 2010 iMac, if so is the RAM spec as shown below?
    Maximum Memory
    16 GB
    Memory Slots
    4 - 204-pin PC3-10600 (1333 MHz) DDR3 SO-DIMM

  • Netscape.ldap.LDAPException: Server down (80); Unknown error

    Hi,
    We are facing a strange problem in our staging environment. It has two Sun one Dir. server 5.2 running in multi-master mode befind a load-balancer.
    A Connection Pool has been defined on the Application server for the same with minConn=5 and MaxConn=80.
    Load-balancer has a timeout value of 30 mins.
    Now when, the Application runs a search operation on the LDAP , it throws the following error sometimes, however, most of the time it works without any problems.
    ______________Start of error message__________
    loBundle=java.util.PropertyResourceBundle@375c56d3
    netscape.ldap.LDAPException: Server down (80); Unknown error
    at netscape.ldap.LDAPConnThread.networkError(LDAPConnThread.java:619)
    at netscape.ldap.LDAPConnThread.run(LDAPConnThread.java:436)
    netscape.ldap.LDAPException: Server down (80); Unknown error
    at netscape.ldap.LDAPConnThread.networkError(LDAPConnThread.java:619)
    at netscape.ldap.LDAPConnThread.run(LDAPConnThread.java:436)
    _________EO Error Msg______________________
    its working fine in the development env. where we are not using the load-balancers and the ldap is used in stand-alone mode.
    Would appreciate your response on this.
    Regards
    Prakash Chandra

    Hi Prakash,
    We're having a similar problem... I was wondering if you ever got to the bottom of this. In our case too most of the time everything runs okay... it's only once in a while that one starts seeing these errors.
    Thanks,
    Bobby Julka

  • I have MacBook Pro and whenever I start Aperature 3 it stays on for about 5 minutes then it shuts down with an error of shutting down unexpected... anything??

    Hello, I have MacBook Pro and whenever I start Aperature 3 it stays on for about 5 minutes then it shuts down with an error of shutting down unexpected... anything??
    Also does anyone know how to take something from one picture and add it to another in aperature?
    Thank you!!!

    I had the exact same problem. Here is what an Apple Support person told me to do - and it worked like a charm!
    Go to your APPLICATIONS Folder. Find a folder within that folder called TOOLBARS. Remove the ENTIRE folder. Once you remove that folder, your Aperture should work perfectly.
    There is something in that folder that you don't need that messes with Aperture. Try it. Mine worked perfectly!

  • My emac safari launches with no search screen and when i open a new tab it shuts down wit an error message???

    Hi, and thanks in advance. I have an emac thats working fine except for safari. Click safari the top bar comes up but no page and when i open a new tab it shuts down with a error and message saying it unexpectedly quit and send to apple or relaunch.

    safari that i am running is 4.3.1

  • Oct 22, 2013 11:58 PM downloaded 10.9  all well 'til I get desktop and can't enter my password, message of error, and it shuts down:  reboot and error reappears"your computer     restarted because of a problem. touch any key.....etc'  75-yr-old needs guid

    Oct 22, 2013 11:58 PM 
    downloaded 10.9  all well 'til I get desktop and can't enter my password, message of error, and it shuts down:  reboot and error reappears"your computer     restarted because of a problem. touch any key.....etc'  75-yr-old needs guidance.........running 10.8.5 til today................????????  Can run in safe boot, but what do i do now ???  thanks
    MacBook Pro, OS X Mountain Lion (10.8.3), Intel core i5 2.3GHz 

    Well, after some thought, I did a 'safe boot', did a disk verify and repair in Disk Utility, repaired permissions in DU and had the same problem I'd mentioned in post.
    SO, I went back in (safe boot.........that is, hold down start button, then 'shift') and went to applications and removed or uninstalled any apps that I thought might be interferring with the re-boot or, specifically, with my being unable to sign in with my p/w.........(at the first key stroke, it would crash and give the 'error' message)....I had both Webroot and Dashlane installed that I thought could interfere with password recognition (Webroot protects from viruses, et all and Dashlane is a password codifying appl.) I took out whatever else I thought might not be friendly and, guess what ?? When I signed out of 'safe' mode, and rebooted normally, it worked.........and has been working properly for 3-4 hrs now, so guess it's good-to-go..........seems like it...........hope this helps anyone with the same problem I'd had...........no need to visit "genius bar" some 55 miles from here............guess us mid-seventies guys ain't too old for learnin'...........G'Day, Mates !!

  • Downloaded 10.9  all well 'til I get desktop and can't enter my password, message of error, and it shuts down:  reboot and error reappears"your computer     restarted because of a problem. touch any key.....etc'

    downloaded 10.9  all well 'til I get desktop and can't enter my password, message of error, and it shuts down:  reboot and error reappears"your computer     restarted because of a problem. touch any key.....etc'  75-yr-old needs guidance.........thanx
    running 10.8.5 til today........................????????  Can run in safe boot, but what do i do now ???  thanks

    Well, after some thought, I did a 'safe boot', did a disk verify and repair in Disk Utility, repaired permissions in DU and had the same problem I'd mentioned in post.
    SO, I went back in (safe boot.........that is, hold down start button, then 'shift') and went to applications and removed or uninstalled any apps that I thought might be interferring with the re-boot or, specifically, with my being unable to sign in with my p/w.........(at the first key stroke, it would crash and give the 'error' message)....I had both Webroot and Dashlane installed that I thought could interfere with password recognition (Webroot protects from viruses, et all and Dashlane is a password codifying appl.) I took out whatever else I thought might not be friendly and, guess what ?? When I signed out of 'safe' mode, and rebooted normally, it worked.........and has been working properly for 3-4 hrs now, so guess it's good-to-go..........seems like it...........hope this helps anyone with the same problem I'd had...........no need to visit "genius bar" some 55 miles from here............guess us mid-seventies guys ain't too old for learnin'...........G'Day, Mates !!

  • Why does most of CS6 shut down with an error message?

    I bought CS6 last week and loaded it on to my computer. When I went to use it yesterday the majority of the programs didnt work. Photoshop is opening but illustrator and indesign dont. When I open indesign it opens, gets to the bit where you choose to open a previous document or start a new one then just shuts down and an error message pops up saying indesign had to close suddenly. Im in so deep over my head with all of this. Also im on a mac computer. if that helps. Does anyone have anything that can help me?

    You need to be much more specific. What Mac? What version of OSX? Where are your files stored? This could be anything from permissions issues to severe configuration issues somewhere....
    Mylenium

  • My computer shuts down with no error messege when i try to burn an audio cd

    please help me my computer shuts down with no error message. If it helps i am using windows XP.

    Put a standard audio CD in your drive and take a look at what is listed by Windows Explorer. You should notice something familiar. Take the CD that iTunes created and put it in a standard CD player. Does it work?
    tt2

  • When I go to capture, FCE shuts down with no error message

    I upgraded to FCE on both my Macs. One Mac powerbook G4 works fine in capture and writing to video. The other powerbook will shut the program down unexpectedly without error message. I use the same camera for both computers. Can someone help me figure this out.
    Thanks!

    Try these:-
    1. Trash the preferences like this - http://www.fcpbook.com/Misc1.html
    2. If that doesn't work, COMPLETELY UNINSTALL FCE like this and try reinstalling again -
    http://docs.info.apple.com/article.html?artnum=301182
    You can ignore the LiveType and Soundtrack items.
    Ian.

  • Firefox shuts down suddenly without error message. Any ideas why?

    Firefox shuts down suddenly without error message on Samsung Note 2014.

    Please update to the most recent version of Firefox:
    *[[Update Firefox to the latest version]]

  • Imac shuts down without any error message

    imac shuts down without any error message

    Need more details. Which iMac? Which OS? When does it shut down, under what circumstances? What are you doing when it happens? Is it reproducible, i.e. can you make it happen? Does it appear to be getting very hot before it shuts down?
    Open Console in Applications>Utilities and navigate to system.log. Do you see any messages related to shutdown from the time when this has happened? Enter "shutdown" in the filter field, upper right corner.

  • CS3 shuts down after wierd error

    I'm guessing this problem can be solved by uninstalling/installing my printer driver but thought I'd check here to see if anyone's seen an error this strange anyway.
    If I try to open either a large number of photos or a few large ones, I can sometimes end up with CS3 closing and telling me that a faulting module, e_fuicaia.dll, caused the program to shut down.
    Just what this has to do with anything, I don't know. It is a driver for an old epson 220 cd printer. Why loading photoshop causes the printer driver to crash it seems quite odd.
    As I said, hopefully reinstalling the printer driver will have an effect, although the printer itself works just fine. hmmmm

    Is the Epson 220 set as your default printer? I'd set another, even if its say the "Generic PS Printer," or the Acrobat Printer. You should be able to use the CD printer, by selecting it in the Print dialog box. If that doesn't work, then maybe an uninstall/re-install would work. Personally, I'd do a Registry cleaning, after uninstall, and prior to re-install.
    Hunt

  • Vendor down payment request Error

    Hi all,
            i created a vendor down payment request using f-47. I had created a tax code for the country "AE" using FXTP. But when in the vendor down payment request it is not picking the tax code,giving the error "Tax code AN for country AE has been deleted or incorrectly changed", Message no. FS201
    Kindly help me,
    Thanks in advance
    Ani Varghese

    Hi,
    The reason behind this error is that the TAX CODE IS NOT CORRECTLY MAINTAINED.
    You might not have maintained the GL Accounts for this. Maintained it in OB40.
    Regards,
    Amit

  • "You must shut down your computer" error. Do I need to do something?

    Hi,
    A few minutes ago my Macbook Pro (late 2009 model running 10.7.2) crashed and flashed the "You must shut down your computer" sign. I rebooted and at the moment the MBP is up and running again but I am not sure whether I should take it in for servicing or not. The kernel panic report is attached.
    Thanks for your response.
    Mon Oct 24 22:56:11 2011
    panic(cpu 0 caller 0xffffff80002c266d): Kernel trap at 0xffffff800024421e, type 13=general protection, registers:
    CR0: 0x000000008001003b, CR2: 0x000000010a214000, CR3: 0x000000003bbab000, CR4: 0x0000000000000660
    RAX: 0xffffff800c86bf40, RBX: 0xffffff8003b7e990, RCX: 0x0000000009000000, RDX: 0xffffff8003b7e9a0
    RSP: 0xffffff80796dbaa0, RBP: 0xffffff80796dbb80, RSI: 0x0000000000000001, RDI: 0xffffff8003b7e9a0
    R8:  0xffffff80796dbbb8, R9:  0xffffff80796dbbd8, R10: 0xffffff800086ee10, R11: 0x000000000010ba96
    R12: 0x00000000000000e0, R13: 0xffffff800bab9a4c, R14: 0x5841400000000000, R15: 0xffffff80008df9e0
    RFL: 0x0000000000010206, RIP: 0xffffff800024421e, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0x000000010a214000, Error code: 0x0000000000000000, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80796db760 : 0xffffff8000220702
    0xffffff80796db7e0 : 0xffffff80002c266d
    0xffffff80796db980 : 0xffffff80002d7a1d
    0xffffff80796db9a0 : 0xffffff800024421e
    0xffffff80796dbb80 : 0xffffff800022662d
    0xffffff80796dbbb0 : 0xffffff80005f55c7
    0xffffff80796dbbd0 : 0xffffff80005f58e9
    0xffffff80796dbc00 : 0xffffff80005f4009
    0xffffff80796dbc40 : 0xffffff80005f20c6
    0xffffff80796dbc90 : 0xffffff80005e3f86
    0xffffff80796dbce0 : 0xffffff80005e15a4
    0xffffff80796dbd10 : 0xffffff80005e3f86
    0xffffff80796dbd60 : 0xffffff80005e15a4
    0xffffff80796dbd90 : 0xffffff80005e3f86
    0xffffff80796dbde0 : 0xffffff800061c667
    0xffffff80796dbe00 : 0xffffff800061ecfb
    0xffffff80796dbe10 : 0xffffff80006511fb
    0xffffff80796dbe50 : 0xffffff800029d235
    0xffffff80796dbe80 : 0xffffff8000223006
    0xffffff80796dbeb0 : 0xffffff8000214829
    0xffffff80796dbf10 : 0xffffff800021bb58
    0xffffff80796dbf70 : 0xffffff80002ae8a0
    0xffffff80796dbfb0 : 0xffffff80002d8383
    BSD process name corresponding to current thread: UserEventAgent
    Mac OS version:
    11C74
    Kernel version:
    Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
    Kernel UUID: 59275DFA-10C0-30B3-9E26-F7B5DFB1A432
    System model name: MacBookPro5,3 (Mac-F22587C8)
    System uptime in nanoseconds: 38000354004858
    last loaded kext at 38000253952912: com.apple.driver.AppleBluetoothHIDKeyboard          152.3 (addr 0xffffff7f807ad000, size 12288)
    last unloaded kext at 37627376787746: com.apple.iokit.IOEthernetAVBController          1.0.0d5 (addr 0xffffff7f807a8000, size 20480)
    loaded kexts:
    com.parallels.filesystems.prlufs          2010.12.28
    com.parallels.kext.prl_hid_hook          7.0 14922.693916
    com.parallels.kext.prl_hypervisor          7.0 14922.693916
    com.parallels.kext.prl_usb_connect          7.0 14922.693916
    com.parallels.kext.prl_vnic          7.0 14922.693916
    com.parallels.kext.prl_netbridge          7.0 14922.693916
    at.obdev.nke.LittleSnitch          2.4.4
    com.apple.filesystems.afpfs          9.8
    com.apple.nke.asp_tcp          6.0.1
    com.apple.filesystems.udf          2.2
    com.apple.filesystems.smbfs          1.7.0
    com.apple.driver.AppleHWSensor          1.9.4d0
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDA          2.1.3f7
    com.apple.driver.AppleMikeyDriver          2.1.3f7
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.AppleMCCSControl          1.0.26
    com.apple.driver.AGPM          100.12.42
    com.apple.GeForce          7.1.2
    com.apple.driver.SMCMotionSensor          3.0.1d2
    com.apple.driver.AppleSMCLMU          2.0.1d2
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.1
    com.apple.driver.AppleMuxControl          3.0.16
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.7.5d4
    com.apple.driver.AppleLPC          1.5.3
    com.apple.driver.AppleUSBTCButtons          225.2
    com.apple.driver.AppleUSBTCKeyboard          225.2
    com.apple.driver.AppleIRController          312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          33
    com.apple.driver.AppleUSBCardReader          3.0.1
    com.apple.iokit.SCSITaskUserClient          3.0.1
    com.apple.iokit.IOAHCIBlockStorage          2.0.1
    com.apple.driver.AppleFWOHCI          4.8.9
    com.apple.driver.AirPort.Brcm4331          512.20.18
    com.apple.driver.AppleEFINVRAM          1.5.0
    com.apple.driver.AppleUSBHub          4.5.0
    com.apple.driver.AppleRTC          1.4
    com.apple.nvenet          2.0.17
    com.apple.driver.AppleUSBOHCI          4.4.5
    com.apple.driver.AppleHPET          1.6
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleAHCIPort          2.2.0
    com.apple.driver.AppleUSBEHCI          4.5.0
    com.apple.driver.AppleACPIButtons          1.4
    com.apple.driver.AppleSMBIOS          1.7
    com.apple.driver.AppleACPIEC          1.4
    com.apple.driver.AppleAPIC          1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient          167.0.0
    com.apple.nke.applicationfirewall          3.2.30
    com.apple.security.quarantine          1
    com.apple.driver.AppleIntelCPUPowerManagement          167.0.0
    com.apple.driver.AppleBluetoothHIDKeyboard          152.3
    com.apple.driver.AppleHIDKeyboard          152.3
    com.apple.driver.IOBluetoothHIDDriver          4.0.1f4
    com.apple.iokit.IOAVBFamily          1.0.0d22
    com.apple.iokit.IOEthernetAVBController          1.0.0d5
    com.apple.security.SecureRemotePassword          1.0
    com.apple.kext.triggers          1.0
    com.apple.driver.DspFuncLib          2.1.3f7
    com.apple.nvidia.nv50hal          7.1.2
    com.apple.NVDAResman          7.1.2
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.iokit.IOFireWireIP          2.2.4
    com.apple.driver.AppleHDAController          2.1.3f7
    com.apple.iokit.IOHDAFamily          2.1.3f7
    com.apple.iokit.IOSurface          80.0
    com.apple.iokit.IOBluetoothSerialManager          4.0.1f4
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.iokit.IOAudioFamily          1.8.3fc11
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.ApplePolicyControl          3.0.16
    com.apple.driver.AppleGraphicsControl          3.0.16
    com.apple.driver.AppleBacklightExpert          1.0.3
    com.apple.iokit.IONDRVSupport          2.3.2
    com.apple.iokit.IOGraphicsFamily          2.3.2
    com.apple.driver.AppleSMC          3.1.1d8
    com.apple.driver.IOPlatformPluginFamily          4.7.5d4
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.BroadcomUSBBluetoothHCIController          4.0.1f4
    com.apple.driver.AppleUSBBluetoothHCIController          4.0.1f4
    com.apple.iokit.IOBluetoothFamily          4.0.1f4
    com.apple.driver.AppleUSBMultitouch          227.1
    com.apple.iokit.IOUSBHIDDriver          4.4.5
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.0.1
    com.apple.iokit.IOUSBMassStorageClass          3.0.0
    com.apple.driver.AppleUSBMergeNub          4.5.3
    com.apple.driver.AppleUSBComposite          3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.0.1
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.7
    com.apple.iokit.IOCDStorageFamily          1.7
    com.apple.driver.XsanFilter          403
    com.apple.iokit.IOAHCISerialATAPI          2.0.1
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.0.1
    com.apple.iokit.IOFireWireFamily          4.4.5
    com.apple.iokit.IO80211Family          411.1
    com.apple.iokit.IOUSBUserClient          4.5.3
    com.apple.iokit.IONetworkingFamily          2.0
    com.apple.driver.NVSMU          2.2.9
    com.apple.driver.AppleEFIRuntime          1.5.0
    com.apple.iokit.IOAHCIFamily          2.0.7
    com.apple.iokit.IOUSBFamily          4.5.3
    com.apple.iokit.IOHIDFamily          1.7.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          165.3
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          331
    com.apple.iokit.IOStorageFamily          1.7
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.4
    com.apple.iokit.IOPCIFamily          2.6.7
    com.apple.iokit.IOACPIFamily          1.4

    call apple! 1800-apl-care

Maybe you are looking for

  • Weblogic 10.3.5 upgrade to JSF2.0

    I am trying to upgrade my weblogic server 10.3.5 to jsf 2.0 and I get the follwing error on deploying my application. Interestingly the application deploys without errors on JDevs IntegratedWeblogicServer! My application does not use MDS at all. <Apr

  • REQUIREMENT TO POPULATE PLANNER GROUP in REPAIR SERVICE ORDER

         Hi Gurus,     We are using Standard repair process, These are the Following Steps 1.Service Notification Creation. 2.Sale order Creation (RAS order type) 3.Returns Delivary 4.Posts Goods Receipt 5.Repair Service Order created in the Backend.    

  • Blue light blinking hp vs196

    Sir , Monitor blue light blinking in the Power Key (blue light blinking hp vs196 ) , I had tried different Cables and different outlet but still the same problem . Best Regards

  • Camera Frozen

    My Ipad camer has frozen when opening. I have looked at discussions but no joy yet. I have reset the pad (Home button and on button for 10 seconds) and still the same. I then re installed the software and restored from a backup in the cloud from earl

  • Enterprise Management Console

    Hi, I installed Oracle 9i 64 bit on Windows 2003 64 bit Enterprise Itanium OS server. After long experiment we are started our SQL database working. Now my one query is I installed Oracle 9i Server version but we are not able to install or see "Enter