Predicate boolean method...calculating whether or not a year is a Leap year

I'm trying to get pointed in the right direction for this program. I am attempting to write a program that calculates whether or not an inputted year by the user is a valid leap year or not, however I'm having problems figuring out the method for this calculation.
A predicate method boolean seems to be the right way, but I can't figure out exactly how. Here's what I've brainstormed thus far:
Leap Year Conditions:
1. Is divisible by 4.
2. Is NOT divisible by 100.
3. Is divisible by 4.
public class Year
          public boolean isLeapYear()
}What confuses me is how to satisfy these conditions. Here is what I want to fill those '...' with. Excuse the tacky language coming up, but it's the only way I can express my thinking here:
return ((inputted year) / 4) && (inputted year / 400) && !((inputted year) / 100)
If the year is undivisible by any of these values then it could end up being a technical decimal (which means the inputtted year is not a leap year). But of course java would still calculate it anyway depending on how I defined the type.
Should I try to implement a condition that if the variable returned by any of these calculations (except for 100) is a float point then the year is not a leap year? How would I do this?
I'm really not sure where to go on this one. If anyone could point me in the right direction and give me a good start I would appreciate it. Thank you.
Message was edited by:
fairtex
Message was edited by:
fairtex

http://en.wikipedia.org/wiki/Leap_year
They have some leap year algorithms on there.

Similar Messages

  • Reflection - how can I find out whether method is static or not.

    Hi all,
    I'm using reflection to get a reference to a method. Is there a way to find out whether this method is static or not ?
    There is no such method "boolean isStatic()" in the Method class.
    Holger

    You're so close. You use the getModifiers method in
    Method which returns an int. Then use the
    java.lang.reflect.Modifier class's static methods. In
    this case you use public static boolean isStatic(int
    mod)
    The int that you pass into the isStatic method is the
    same int that you get out of the getModifiers method.
    Hope it helpsThanks. I didn't read the documentation carefully enough - only looking for the key word "static" in the javadoc of class Method. May the duke be with you !

  • Method to determine whether or not the main clip is playing

    Is there an AS3 method that will return whether or not the swf has been paused? I tried to google this but I'm not getting anything.

    I have no familiarity with Captivate.  Isn't there any ability for the captivate button to indicate that the pause has been executed?  Maybe you should try posting in the Captivate forum.

  • Boolean methods

    Hi this is the first time posting for me.
    I'm a beginner still with Java programming and have a question
    with boolean methods.
    I am writing a boolean method for a triangle to test whether the three sides of
    a triangle (input by the user) is an isosoles (two sides but only two sides are equal). I think I have the syntax and method correct but when I input an equilateral (all sides are equal) I always get "true" (instead of false) for the return value (when I call the isosoles method) on the traingle.
    Here is the calling and method code. Any hints?
    I don't think I fully understand boolean methods.
    Thanks in advance.
    Mark
    import javax.swing.JOptionPane;
    public class TestTriangle {
    public static void main(String[] args) {
    String stringS1 = JOptionPane.showInputDialog(
    "Enter side 1 of triangle");
    int s1 = Integer.parseInt(stringS1);
    String stringS2 = JOptionPane.showInputDialog(
    "Enter side 2 of triangle");
    int s2 = Integer.parseInt(stringS2);
    String stringS3 = JOptionPane.showInputDialog(
    "Enter side 3 of triangle");
    int s3 = Integer.parseInt(stringS3);
    Triangle myTriangle = new Triangle(s1, s2, s3);
    System.out.println(myTriangle.isosoles() + " " + myTriangle.equilateral());
    public class Triangle {
    boolean isosoles(){
    if ((side1 == side2) ^ (side2 == side3)){
    return true;
    else if ((side1 == side3) ^ (side2 == side3)){
    return true;
    else if ((side1 == side2) ^ (side1 == side3)){
    return true;
    else {
    return false;
    boolean equilateral(){
    if ((side1 == side2) && (side2 == side3)){
    return true;
    else {
    return false;
    }

    Just one additional note:
        if ((side1 == side2) ^ (side2 == side3)) {
          return true;
        else if ((side1 == side3) ^ (side2 == side3)) {
          return true;
        else if ((side1 == side2) ^ (side1 == side3)) { // You do not need this condition checked
                                                         // since the first part is identical to the 1st part
                                                         // of condition #1, so if (1 == 2), then !(2 == 3)
                                                         // is the same as !(1 == 3). And the 2nd part is
                                                         // identical to the 1st part of condition #2, so it
                                                         // (1 == 3), then !(1 == 2) is the same as !(2 ==3)
          return true;
        else {
          return false;
        }

  • How to return a message in a boolean method?

    I am looking to return a message other than true or false using a boolean method. Is that possible to do without displaying the true, or false?
    private boolean search(Node node, int id){
              if (node == null)
                   return false;
              else if (id == node.id){
                   return true;
              else if (id < node.id){
                   return search(node.left, id);
              else
                   return search(node.right, id);
         }In this snippet I would like to return a message rather than true or false.
    My idea was to put the println statement just before the return, but that leaves me with a true or false being displayed.
    I also thought i could use an if statement in my main:
    public class studentTest {
         public static void main(String[] args) {
              StudentDatabase data = new StudentDatabase();
              System.out.println(data.insert(7066, "Pianczk", 25, 4.0));
              System.out.println(data.insert(7067, "Pianczk", 25, 4.0));
              data.insert(756, "Pia", 78, 3.5);
              boolean result;
              result = data.search(7066);
              if (result){
                   System.out.print("")
    }the problem with this is I can't reach the info I would like to print out.(or at least I don't know how)

    I figured it out.
    I thought I tried this once already, but must not have done it correctly.
    private boolean search(Node node, int id){
              if (node == null){
                   return false;
              else if (id == node.id){
                   System.out.print("Student info: " + node.id + " " + node.lastName + " " + node.age + " " + node.gpa);
                   return true;
              else if (id < node.id){
                   return search(node.left, id);
              else
                   return search(node.right, id);
    public static void main(String[] args) {
              StudentDatabase data = new StudentDatabase();
              System.out.println(data.insert(7066, "Pianczk", 25, 4.0));
              System.out.println(data.insert(7067, "Pianczk", 25, 4.0));
              data.insert(756, "Pianc", 78, 3.5);
              int id = 7065;
              boolean result;
              result = data.search(id);
              if (result)
                   System.out.println("");
              else
                   System.out.print("Your ID " + id + " was not found");
    }this works, although I am not sure if this is the optimal way of doing it.

  • How detect method calls that are not already in 1.4

    My program is compiled with JDK 1.5 or 1.6 and retroweaved to 1.4.
    If I do not take care I may type
    int i=65;
    Character.isDigit(i);
    instead of
    Character.isDigit(char)i);
    Without casting to char it uses a method that exists only since 1.5 but not
    yet in 1.4.
    There are a few other methods that had been added since 1.5
    Their use leads to NoSuchMethodError on 1.4 clients.
    Their usage must be avoided.
    How can I recognize them at compile time?
    Or has anybody written a tool to check all method calls
    whether they already exist in 1.4 ?
    If not I would write it myself and probably will use the javap output.
    After reading through the docs of java.lang.reflect.Method I guess that
    there is no flag telling when a method had been introduced.

    there was some discussion on that here:
    http://forum.java.sun.com/thread.jspa?threadID=586602
    If you use ant, you could also try and configure the src and target properties of javac task:
    http://ant.apache.org/manual/CoreTasks/javac.html
    Alper

  • REST API StartUpload method - "The method or operation is not implemented"

    Hi,
    I've been looking at using the following to upload large files to SharePoint Online/OneDrive for Business.
    http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx#bk_FileStartUpload
    According to the documentation "This method is currently available only on Office 365."
    When I try to use the StartUpload Method I get the following exception returned
    {"error":{"code":"-1, System.NotImplementedException","message":{"lang":"en-US","value":"The
    method or operation is not implemented."}}}
    What I want to do is be able to upload large files to SharePoint online using a console application and the REST API.
    At the moment I can upload a 512mb using the below, the problem I get with this is I don't get a response from the API. I get a timeout exception after 2 hours only when get a response on this line WebResponse response = request.GetResponse()
    http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx#bk_FileCollectionAdd
    Any help or pointers would be much appreciated. I've posted on a number of forums and had no success. Thanks

    Hi,
    We can do as follows:
    1. If you have a large list, please look at the links below:
    http://blogs.technet.com/b/speschka/archive/2009/11/13/large-list-throttling-for-external-lists-in-sharepoint-2010.aspx
    http://akanoongo.blogspot.com/2011/02/how-to-resolve-2000-items-resolution-in.html
    2. Also please check the steps about create an external list.
    http://msdn.microsoft.com/en-us/library/office/ee558778(v=office.14).aspx
    3. Create a new Table in Database and create a new external list to check whether the issue still exists.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Hello, I'm wondering if any of you know whether or not there's an App that allows you to watch multiple video formats online (like online TV series, movies etc) Thank you so much

    Hello, I'm wondering if any of you know whether or not there's an App that allows you to watch multiple video formats online (like online TV series, movies etc) Thank you so much

    SgtChevelle wrote:
    how do you decide which structures to use?
    Trial and error.
    I wish I had a better answer for you, but that pretty much encapsulates it. There is some, but not much, good wisdom out there, but it takes a significant amount of experience to be able to recognize it. The software development community if currently afflicted with a case of copy-and-paste-itis. And the prognosis is poor.
    The solution is to be brutal to yourself and others. Focus on what you need and ignore everything else. Remember that other people have their own needs and methods and they might not be applicable to you. Apple, for example, can hire thousands of programmers, set them to coding for six months, pick the best results, and have the end-users spend their own time and monety to test it. If you don't have Apple's resources and power, think twice about adopting Apple's approach. And I am talking from a macro to a micro perspective. Apple's sample and boilerplate code is just junk. Don't assume you can't do better. You can.
    Unfortunately, all this takes time and practice. You can read popular books, but never assume that anyone knows more than you do. Maybe they do and maybe they don't. It takes time to figure that out. Just do your best, ignore the naysayers, and doubt other people even more than you doubt yourself.

  • How to Quickly Determine Whether or not Specific Hotfixes or Updates are Installed?

    I have a handful of applications that require specific hotfixes or updates to be installed.  An excellent example of this is Internet Explorer 11 which has
    9 prerequisites. (well only 6 are required, the remaining 3 prerequisites provide a better experience.)
    Is there a reliable & fast way of checking for whether or not a specific hotfix and/or patch/update has been installed? 
    I am aware of `wmic qfe` but
    According to
    this, it will only "retrieve updates for Windows OS itself and its components (such as Windows Internet Explorer (IE) or Windows Server roles and features)"
    Even if I'm checking for just 1 hotifx, it takes roughly 6 seconds to retrieve that information.  When we're checking for dozen or two hotfixid's that quickly adds up. `Measure-Command {wmic qfe where "hotfixid='kb982018'"}`  So
    for IE11, we're looking at nearly 1 minute of waiting.  Nonsense.
    Note: I'm not asking "is my system patched?" nor am I asking for a report of installed patches.  I could use WSUS, SCCM, MBSA and a multitude of other solutions for that.  I need something scriptable that will install a specific prerequisite
    at runtime, so I'm looking for a batch/vbscript/powershell solution that'll be quick, like 1 second quick, not 5+ per KB.

    Thanks.  I'm no expert.  I don't have a slew of characters before or after my name.  This isn't an I'm right/you're wrong situation.  I don't claim to know everything - just trying to mitigate the questions I know I'm going to be asked.
    Prior to posting, I saw
    your post here (which is great I might add) which works, and it will work for determining whether or not a machine has a specific update/hotfix installed.  But it consistently took 6 seconds to retrieve a single result on our assets.  This
    was on a Core i7 with 8GB and an SSD running Windows 8.1 Pro.  This doesn't bode well for our day-to-day systems which are Core 2 Duo's with 4GB and spindle disks.  Unless my math is wrong, if I'm checking for all 6 possible required IE11 prereqs
    thats 36 seconds of wait time just for WMI queries.  I'm just shocked it takes so long which made me wonder whether or not there was a faster retrieval method.
    Why would I think there's a faster method?  The closest example I can think of might be a software install.  Sure, I can query WMI, but that too takes a while.  But I could a
    `reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{product code}` or `reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox 29.0.1 (x86 en-US)`
    then check errorlevel to determine if the product was installed, right?  Or take it a step further & check the `/v Version` to make sure it matches what I expect it to be, right?   We don't have fancy tools here like Altiris or SCCM
    :(  Reg query just appears to be significantly faster than wmic/gwmi in that specific scenario.  That gave me hope there
    might be a faster option for checking for installed updates & hotfixes.
    IE11
    tries to install the proper prerequisites.  If that fails, they'll have to be done manually. 
    And it just so happens that the IE11 install
    does fail in our environment when we don't install the manually.  Fortunately we're not ready to deploy IE11, so there's no rush to push IE11.  I was merely using IE11 as an example because by virtue of the articles existence, this
    is a possible real-world scenario.  If I know that we can safely regression test the 6 patches for IE11, and just have it be an optional installation for the users that want or need it, then I can add the prerequisite logic to the script to help ensure
    a successful installation.  Again, an IE11 deployment isn't the goal here.  IE11 is just the example.

  • Firefox 4.1 does NOT ask me if I want to update when I have that item checked, and will NOT tell me what the update version is so I can decide whether or not I want it.

    Firefox 4.0.1 on Windows 7 Ultimate
    With update settings as follows:
    "Ask me what I want to do" is checked
    Firefox, Add-ons, Search Engines checkboxes are all unchecked
    If I choose "Check for Updates" from the Help menu, I am not told what the update is and am not given a choice about downloading it. It automatically downloads the update and then gives me an "Apply" button. As far as I can tell, there is no way to find out the version number for the update before downloading or installing it. A button that is labeled "Check for Updates" should do only that--CHECK, not download.
    I want to know what the version information is for the update BEFORE anything is downloaded, so I can choose whether or not I want it. That's the way Firefox 3.x worked.
    How can I restore the 3.x behavior regarding updates?

    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.org/kb/Private+Browsing
    To see all History and Cookie settings, choose:
    *Firefox > Preferences > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    *Deselect: [ ] "Always use private browsing mode"

  • What is the safest way to learn whether or not my MacBookPro has fallen victim to DNSChanger?

    Hundreds of Thousands Losing the Internet in July?
    I didn't know if anyone else had heard about this, but the following article was recently published in the Denver Post.  Since the Denver Post usually checks this type of stuff out pretty thoroughly, I was wondering if anyone at Apple had heard anything about this event.  I don't use Microsoft or Internet Explorer, so I am hoping that my computer probably won't be affected.  But I was wondering if this was the sort of thing which other Apple customers ought to be learning about.
    FROM THE DENVER POST
    http://www.denverpost.com/breakingnews/ci_20444978/hundreds-thousands-may-lose-i nternet-july
    Hundreds of thousands may lose Internet in July
    LOLITA C. BALDOR Associated Press News Fuze
    Posted:
    DenverPost.com
    WASHINGTON—For computer users, a few mouse clicks could mean the difference between staying online and losing Internet connections this summer.
    Unknown to most of them, their problem began when international hackers ran an online advertising scam to take control of infected computers around the world. In a highly unusual response, the FBI set up a safety net months ago using government computers to prevent Internet disruptions for those infected users. But that system is to be shut down.
    The FBI is encouraging users to visit a website run by its security partner, http://www.dcwg.org, that will inform them whether they're infected and explain how to fix the problem. After July 9, infected users won't be able to connect to the Internet.
    Most victims don't even know their computers have been infected, although the malicious software probably has slowed their web surfing and disabled their antivirus software, making their machines more vulnerable to other problems.
    Last November, the FBI and other authorities were preparing to take down a hacker ring that had been running an Internet ad scam on a massive network of infected computers.
    "We started to realize that we might have a little bit of a problem on our hands because ... if we just pulled the plug on their criminal infrastructure and threw everybody in jail, the victims of this were going to be without Internet service," said Tom Grasso, an FBI supervisory special agent. "The average user would open up Internet Explorer and get 'page not found' and think the Internet is broken."
    On the night of the arrests, the agency brought in Paul Vixie, chairman and founder of Internet Systems Consortium, to install two Internet servers to take the place of the truckload of impounded rogue servers that infected computers were using. Federal officials planned to keep their servers online until March, giving everyone opportunity to clean their computers. But it wasn't enough time. A federal judge in New York extended the deadline until July.
    Now, said Grasso, "the full court press is on to get people to address this problem." And it's up to computer users to check their PCs.
    This is what happened:
    Hackers infected a network of probably more than 570,000 computers worldwide. They took advantage of vulnerabilities in the Microsoft Windows operating system to install malicious software on the victim computers. This turned off antivirus updates and changed the way the computers reconcile website addresses behind the scenes on the Internet's domain name system.
    The DNS system is a network of servers that translates a web address—such as www.ap.org— into the numerical addresses that computers use. Victim computers were reprogrammed to use rogue DNS servers owned by the attackers. This allowed the attackers to redirect computers to fraudulent versions of any website.
    The hackers earned profits from advertisements that appeared on websites that victims were tricked into visiting. The scam netted the hackers at least $14 million, according to the FBI. It also made thousands of computers reliant on the rogue servers for their Internet browsing.
    When the FBI and others arrested six Estonians last November, the agency replaced the rogue servers with Vixie's clean ones. Installing and running the two substitute servers for eight months is costing the federal government about $87,000.
    The number of victims is hard to pinpoint, but the FBI believes that on the day of the arrests, at least 568,000 unique Internet addresses were using the rogue servers. Five months later, FBI estimates that the number is down to at least 360,000. The U.S. has the most, about 85,000, federal authorities said. Other countries with more than 20,000 each include Italy, India, England and Germany. Smaller numbers are online in Spain, France, Canada, China and Mexico.
    Vixie said most of the victims are probably individual home users, rather than corporations that have technology staffs who routinely check the computers.
    FBI officials said they organized an unusual system to avoid any appearance of government intrusion into the Internet or private computers. And while this is the first time the FBI used it, it won't be the last.
    "This is the future of what we will be doing," said Eric Strom, a unit chief in the FBI's Cyber Division. "Until there is a change in legal system, both inside and outside the United States, to get up to speed with the cyber problem, we will have to go down these paths, trail-blazing if you will, on these types of investigations."
    Now, he said, every time the agency gets near the end of a cyber case, "we get to the point where we say, how are we going to do this, how are we going to clean the system" without creating a bigger mess than before.
      

    I have Windows capability but have never used it.  I can't imagine anyone using anything other than Pages for Word Processing, etc.  I use Safari and Firefox for Browsing.  I use Safari primarily and Firefox occassionally.  I have not used Internet Explorer for years and years.  In fact, I was sort of surprised when I learned that some people do still use Internet Explorer. 
    I wasn't sure whether or not there was an Ultra-Safe way to go about checking to discover whether or not Apple Users had to worry about a problem with this particular bug.  
    Although there IS a link provided in the Denver Post's on-line version of this particular news article, I hated to click on a strange link - even if it was provided by the local newspaper.  It is just as easy for the local newspaper to be fooled by bogus links as it is for anyone else to be fooled. 
    My understanding from friends is that there are a whole lot of local newspapers - all across the country - who are currently running this news article - or an article very similar to it. 
    So it would seem to me that a whole lot of Apple users all across the country might suddenly be wondering whether or not they have anything to worry about - and whether or not there was an Ultra-Safe way for Apple users to check all of this out. 
    I contacted my service provider about this issue but, so far, have not heard anything back from them.
    Thanks for the response.
    Sincerely,
    Hannah

  • How can I tell whether or not a photo I delete from iPhone will also be deleted from iPhoto on my Mac?

    I would like to download the new iOS, however when I go to do that, a message tells me that I cannot because I need 4.6 GB of storage in order to install it. I only currently have 864 MB of storage available on my 16 GB iPhone 5s.
    The storage problem would be fairly easy to solve through deleting photos and/or videos, as the Photos & Camera app shows a current usage of 5.7 GB. I am perfectly comfortable deleting photos off my iPhone if I know that they will remain in iPhoto on my Mac. However, when I select photos to delete, the phone warns me that the photo(s) will also be deleted from Photo Stream on all my devices. I tested this with some photos I didn't care about (whether or not they got permanently deleted from all devices), and it is perplexing, because even though the iPhone warned me that the photos would be deleted on other devices, they have not deleted out of iPhoto on my Mac. I even Quit iPhoto and re-started it, but the photos are still there. Why would the iPhone claim that the photos would be deleted from other devices, but yet clearly the photos are not being deleted from my other device? This leaves me confused and unsure.
    Meanwhile, if I select a bunch of photos then click Delete, the phone warns me that SOME photos will also be deleted from Photo Stream on all my devices.
    I am very annoyed by the ambiguity of the word "some," and not being able to know for sure whether or not photos I delete off my iPhone will still remain in iPhoto on my Mac.
    I would just like a really clear answer if possible: currently all my iPhone photos are showing up in iPhoto on my Mac. If I delete photos off of my iPhone, will they or won't they be deleted from iPhoto on my Mac?
    Thanks if anybody can help.

    xcwomac wrote:
    I would just like a really clear answer if possible: currently all my iPhone photos are showing up in iPhoto on my Mac. If I delete photos off of my iPhone, will they or won't they be deleted from iPhoto on my Mac?
    Thanks if anybody can help.
    If the Photos have been moved into the Library (Events, Photos, Faces, Places) in iPhoto on your Mac (either because you did it manually or as a result of iPhoto > Preferences > iCloud > Automatic Import being on) then nothing you do on the phone will delete them from iPhoto on your Mac.
    If the Photos are ONLY in the Shared - iCloud section of iPhoto then you risk losing them as deleting them from Photo Stream will delete them from there.

  • Error in crawl log "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "

    Hi 
    I get the following error in my crawl logs
    "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "
    Because of this i suspect, the search results are not including those aspx pages marked as "Hide physical urls from search".
    This error is not available in the another environment where the aspx pages are coming in the results.
    Thanks
    Joe

    Hi Joe,
    Greetings!
    Reset the index and re-crawl. That usually clears it
    If you are using NTLM authentication, then make sure that you specified the PassThrough authentication for crawling
    Probably you need to debug the BDC code that underlies the external content types.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/41a86c43-151d-47cd-af73-967a4c940611/lotus-notes-connector-error-while-crawling-lob-contents?forum=sharepointsearch
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • IPC:The calculation type   is not permitted

    Hi Guy's
      We are using ECC5.0, CRM4.0, IPC4.0 and ISA4.0 for the B2C implementation.
      We are getting error below in CRM Order screen and not getting price also
      "IPC: The calculation type   is not permitted".
      Scenario: The transferred sales order contains free-of-charge items. (I.e. we are given the free-of goods for particular order in item level)
      I have checked the SAP Notes "389791" but, I couldn't find the solution.
      Please any one help me out on this.
    Thnx
    Suriya

    I think that's the only relevant note. If that doesn't resolve your issue, would suggest raising an oss message.
    Regards,
    Kaushal

  • When i bought my macbook pro, apple said i was eligible for the mountain lion software. but when i was putting in my information to check whether or not i could upgrade, i accidentally put in the wrong apple id. and now i don't know what to do.

    Now i have no way of checkng whether or not i can upgrade to Mountain Lion. What do i do now.

    Back up all data.
    Triple-click anywhere in the line below to select it:
    pmset -g assertions
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    Post any lines of output that appear below what you entered — the text, please, not a screenshot.

Maybe you are looking for

  • User exit to change purchase order quantity

    Hi all, when we create production order based on that service purchase requisition is created. based on that in me21n service purchase order is created and now if we do any change  will be changing the production order qty after creating the order th

  • Is it possible to permanently roll back a video driver?

    I was experienceing sever performance issue, and thanks to advice I found on this forum I solved the problem by rolling back my video driver. For reasons I cannot explain, the driver seems to upgrade through no action on my part. Can this be prevente

  • Get Error 5 when Launching RoboHelp HTML 9

    I just installed RH9, on a Windows XP (SP3) system, and I'm getting an Error 5 message that simply says uninstall and reinstall when I try to open RoboHelp HTML. I can't open the program. I previously had RHx5 which I uninstalled, prior to installing

  • Trying to load Photoshop, getting error code -70

    I tried to open a file yesterday and it kept saying that there was an error on the the disk. It wouldn't even let me start a new project. I deleted a lot of videos off my computer, and restarted it.. Nothing. I then uninstalled photoshop and tried to

  • How to reverse a column

    Hi All, I have a table test. The data is as given below x y z 1 4 7 2 5 8 3 6 9 i want to reverse the column y the output should be x y z 1 6 7 2 5 8 3 4 9 Thanks, Vikas