Logical Error, can't figure it out, please help

This is a bank application which has 3 classes: Bank, BankApp, and BankAccount. Everything works fine except for when I want to print out the last N transactions. It only prints out the last transaction, so for example if 3 transactions were made and I want to print out the last 2, it only prints out the 3rd or last one. Here are the 3 classes
Basically, BankApp holds the main method and when the user wants to see the last N transactions, it calls printTransactionInfo which in turn calls getTransactionInfo. Thanks for the help
package support;
public class BankAccount {
     private static int accountNumber = -1;
     private String customerName;
     private double balance = 0.0f;
     private double[] transactions = new double[1000];
     private int transactionCount = 0;
     public BankAccount(String customername, double openingbalance)
          customerName = customername;
          balance = openingbalance;
          accountNumber++;
     public int getAccountNumber()
          return accountNumber;
     public String getAccountInfo()
          return "Account number: " + accountNumber + "\n" + "Customer name: " + customerName + "\n" + "Balance: " + balance + "\n";
     public String getTransactionInfo(int lastNTransactions)
                    String transInfo = new String();
                    while(transactionCount > lastNTransactions)
                         transInfo = transactions[lastNTransactions++] + "\n";
                    return transInfo;
     public void withdraw(double amount)
          if(amount > balance)
               System.out.println("The withdrawal amount exceeds the balance\n");
          else
                    balance = balance - amount;
                    transactions[transactionCount] = -1 * amount;
                    transactionCount++;
     public void deposit(double amount)
          balance = balance + amount;
          transactions[transactionCount] = amount;
          transactionCount++;
package main;
import support.BankAccount;
public class Bank {
     private BankAccount[] accounts;
     private static int accountCount = 0;
     public Bank(int accountCapacity)
          accounts = new BankAccount[25];
     public int openNewAccount(String customerName, double openingBalance)
          BankAccount baccount = new BankAccount(customerName,openingBalance);
          int accNum = baccount.getAccountNumber();
          accounts[accountCount++] = baccount;
          return accNum;
     public void withdrawFrom(int accountNum, double amount)
          int accNum;
          accNum = findAccount(accountNum);
          if(accNum == -1)
               System.out.println("Account number does not exist\n");
          else
               accounts[accountNum].withdraw(amount);
     public void depositTo(int accountNum, double amount)
          int accNum;
          accNum = findAccount(accountNum);
          if(accNum == -1)
               System.out.println("Account number does not exist\n");
          else
               accounts[accountNum].deposit(amount);
     public void printAccountInfo(int accountNum)
          int accNum;
          accNum = findAccount(accountNum);
          if(accNum == -1)
               System.out.println("Account number does not exist\n");
          else
               System.out.println(accounts[accNum].getAccountInfo());
     public void printAccountInfo(int accountNum, int lastNTransactions)
          int accNum;
          accNum = findAccount(accountNum);
          if(accNum == -1)
               System.out.println("Account number does not exist\n");
          else
               System.out.println(accounts[accountNum].getAccountInfo());
               System.out.println(accounts[accountNum].getTransactionInfo(lastNTransactions));
     public int findAccount(int accountNum)
          int i;
          for(i = 0; i < accountCount; i++)
               if(accounts[i] == accounts[accountNum])
                    return i;
               return -1;
package mystuff;
import java.io.*;
import main.Bank;
public class BankApp {
     public static void main(String args[]) throws IOException
          Bank b = new Bank(25);
          int menuChoice = 0;
          int accNum;
          String name = new String();
          double bal;
          double amt;
          int trans;
          BufferedReader keyboard = new BufferedReader(new InputStreamReader(System.in));
          while(menuChoice!=6)
          System.out.println("1)open a new bank account");
          System.out.println("2)deposit to a bank account");
          System.out.println("3)withdraw from a bank account");
          System.out.println("4)print short account info");
          System.out.println("5)print detailed account info including last transactions");
          System.out.println("6)quit");
               menuChoice = Integer.parseInt(keyboard.readLine());
               switch(menuChoice)
               case 1:
               System.out.println("What is the name");
               name = keyboard.readLine();
               System.out.println("What is the opening balance");
               bal = Double.parseDouble(keyboard.readLine());
               b.openNewAccount(name,bal);
               break;
               case 2:
               System.out.println("What is the account number");
               accNum = Integer.parseInt(keyboard.readLine());
               System.out.println("What is the deposit amount");
               amt = Double.parseDouble(keyboard.readLine());
               b.depositTo(accNum,amt);
               break;
               case 3:
               System.out.println("What is the account number");
               accNum = Integer.parseInt(keyboard.readLine());
               System.out.println("What is the withdrawal amount");
               amt = Double.parseDouble(keyboard.readLine());
               b.withdrawFrom(accNum,amt);
               break;
               case 4:
               System.out.println("What is the account number");
               accNum = Integer.parseInt(keyboard.readLine());
               b.printAccountInfo(accNum);
               break;
               case 5:
               System.out.println("What is the account number");
               accNum = Integer.parseInt(keyboard.readLine());
               System.out.println("How many Transactions");
               trans = Integer.parseInt(keyboard.readLine());
               b.printAccountInfo(accNum,trans);
               break;
               case 6:
               System.exit(0);
}

public String getTransactionInfo(int lastNTransactions)
String transInfo = new String();
while(transactionCount > lastNTransactions)
transInfo = transactions[lastNTransactions++] + "\n";
return transInfo;You will not get more than one transaction because in
transInfo = transactions[lastNTransactions++] + "\n";
transinfo is replaced with a new value every time instead of values getting added to it.
By the way the routine will not do what you want it to do anyway, but for a different reason,
but you will see that when you corrected the first error.
regards
SH

Similar Messages

  • HT201303 please someone help!!! i can,t remember my securety questions or how to reset them or change them nomatter what i do i can,t figure it out please help!!!!!

    please help!!!! i can,t remember my security questions no matter what i do i can,t change them or reset them somebody please help me!!!!

    Frequently asked questions about Apple ID - http://support.apple.com/kb/HE37 --> Can I change the answers to the security questions for my Apple ID?  --> Yes. You can change the answers to the security questions provided when you originally signed up for your Apple ID. Go to My Apple ID (http://appleid.apple.com/) and click Manage your account.
    Forgotten security questions - https://discussions.apple.com/message/18402551  and https://discussions.apple.com/message/18625296
    More involved forgotten question issues - https://discussions.apple.com/thread/3961813

  • My Imovie continues to shut down every time i File-Import- then it pops up with everything i can import and right before im about to click on something it quits. I can't use my imovie until i figure this out, please help!

    My Imovie continues to shut down every time i File-Import- then it pops up with everything i can import and right before im about to click on something it quits. I can't use my imovie until i figure this out, please help!

    Thanks so much Meg. Unfortunately, iTunes is the program I use to perform syncing. I don't really have other outside options. It is also the location of the backup I would use to restore my phone, and my only way to reclaim important data. I am concerned that, since the last backup occurred when the "other" bar was only moderately huge (around 29G I think), that a backup would replicate the problem back onto my phone. 
    My contacts, etc. are all in address book and the calendar app on my Mac.  As far as I know, iTunes is the way to get them back, but iTunes is where the problem is. 
    Any thoughts on this?

  • Cannot Connect , Cannot figure this out Please help

    I have a Mac Book Pro 15 inch purchased in January 09. I have firewall turned on and added iChat as essential service. I can text chat but cannot get the video to work. I live on Maui. I have DSL. I did the speed test which came back as 3.1MB download and 376 upload. (ouch). I have changed the quicktime streaming speed to 1.5. I have changed the iChat bandwidth to 500 (more than my upload). I receive a connection error anytime I send or receive a video chat. Is the problem with the upload speed?

    Aloha Ralph,
    Wireless connection to DSL modem.
    I have not nor know how to open the ports that iChat needs to route. (This may be the issue)
    Thanks for telling me how to find the old log to post. Here it is:
    Date/Time: 2009-03-02 18:52:31.536 -1000
    OS Version: 10.5.6 (Build 9G55)
    Report Version: 4
    iChat Connection Log:
    2009-03-02 18:52:03 -1000: AVChat started with ID 2221088225.
    2009-03-02 18:52:03 -1000: [email protected]: State change from AVChatNoState to AVChatStateWaiting.
    2009-03-02 18:52:03 -1000: 0x18a7adb0: State change from AVChatNoState to AVChatStateInvited.
    2009-03-02 18:52:19 -1000: 0x18a7adb0: State change from AVChatStateInvited to AVChatStateConnecting.
    2009-03-02 18:52:19 -1000: [email protected]: State change from AVChatStateWaiting to AVChatStateConnecting.
    2009-03-02 18:52:27 -1000: 0x18a7adb0: State change from AVChatStateConnecting to AVChatStateEnded.
    2009-03-02 18:52:27 -1000: 0x18a7adb0: Error -7 (0x18a7adb0 cancelled the connection.)
    2009-03-02 18:52:27 -1000: [email protected]: State change from AVChatStateConnecting to AVChatStateEnded.
    2009-03-02 18:52:27 -1000: [email protected]: Error -7 (0x18a7adb0 cancelled the connection.)
    Video Conference Error Report:
    64.338046 @SIP/SIP.c:2719 type=4 (900A0015/0)
    [SIPConnectIPPort failed]
    64.338592 @SIP/SIP.c:2719 type=4 (900A002D/0)
    [SIPConnectIPPort failed]
    Video Conference Support Report:
    5.108075 @Video Conference/VCInitiateConference.m:1584 type=2 (00000000/0)
    [Connection Data for call id: 1 returns 1
    40.915710 @Video Conference/VCInitiateConference.m:1584 type=2 (00000000/0)
    [Connection Data for call id: 2 returns 1
    56.318899 @Video Conference/VCInitiateConference.m:1599 type=2 (00000000/0)
    [Prepare Connection With Remote Data - remote VCConnectionData: 1, local VCConnectionData: 1
    56.322831 @Video Conference/VCInitiateConference.m:1703 type=2 (00000000/0)
    [Initiate Conference To User: u0 with Remote VCConnectionData: 1 with Local Connection Data: 1 conferenceSettings: 1]
    62.337224 @SIP/Transport.c:2362 type=1 (00000000/0)
    [INVITE sip:user@rip:16402 SIP/2.0
    Via: SIP/2.0/UDP lip:16402;branch=z9hG4bK177457862f830ef1
    Max-Forwards: 70
    To: "u0" <sip:user@rip:16402>
    From: "0" <sip:user@lip:16402>;tag=1307095421
    Call-ID: 16f33de0-07af-11de-bf1e-929ebee44012@lip
    CSeq: 1 INVITE
    Contact: <sip:user@lip:16402>;isfocus
    User-Agent: Viceroy 1.3
    Content-Type: application/sdp
    Content-Length: 733
    v=0
    o=Dana 0 0 IN IP4 lip
    s=0
    c=IN IP4 lip
    b=AS:2147483647
    t=0 0
    a=hwi:17412:2:2400
    a=iChatEncryption:YES
    a=bandwidthDetection:YES
    m=audio 16402 RTP/AVP 110 121 12 3 0
    a=rtcp:16402
    a=rtpmap:121 speex/16000
    a=rtpmap:122 speex/8000
    a=rtpmap:113 X-AAC_LD/44100
    a=rtpmap:110 X-AAC_LD/22050
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:218866866
    m=video 16402 RTP/AVP 123 126 34
    a=rtcp:16402
    a=rtpmap:123 H264/90000
    a=rtpmap:126 X-H264/90000
    a=rtpmap:34 H263/90000
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:30
    a=RTCP:AUDIO 16402 VIDEO 16402
    a=fmtp:126 imagesize 0 rules 20:640:480:640:480:20
    a=fmtp:123 imagesize 0 rules 20:640:480:640:480:20
    a=rtpID:2833956586
    62.838237 @SIP/Transport.c:2362 type=1 (00000000/0)
    [INVITE sip:user@rip:16402 SIP/2.0
    Via: SIP/2.0/UDP lip:16402;branch=z9hG4bK177457862f830ef1
    Max-Forwards: 70
    To: "u0" <sip:user@rip:16402>
    From: "0" <sip:user@lip:16402>;tag=1307095421
    Call-ID: 16f33de0-07af-11de-bf1e-929ebee44012@lip
    CSeq: 1 INVITE
    Contact: <sip:user@lip:16402>;isfocus
    User-Agent: Viceroy 1.3
    Content-Type: application/sdp
    Content-Length: 733
    v=0
    o=Dana 0 0 IN IP4 lip
    s=0
    c=IN IP4 lip
    b=AS:2147483647
    t=0 0
    a=hwi:17412:2:2400
    a=iChatEncryption:YES
    a=bandwidthDetection:YES
    m=audio 16402 RTP/AVP 110 121 12 3 0
    a=rtcp:16402
    a=rtpmap:121 speex/16000
    a=rtpmap:122 speex/8000
    a=rtpmap:113 X-AAC_LD/44100
    a=rtpmap:110 X-AAC_LD/22050
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:218866866
    m=video 16402 RTP/AVP 123 126 34
    a=rtcp:16402
    a=rtpmap:123 H264/90000
    a=rtpmap:126 X-H264/90000
    a=rtpmap:34 H263/90000
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:30
    a=RTCP:AUDIO 16402 VIDEO 16402
    a=fmtp:126 imagesize 0 rules 20:640:480:640:480:20
    a=fmtp:123 imagesize 0 rules 20:640:480:640:480:20
    a=rtpID:2833956586
    63.838552 @SIP/Transport.c:2362 type=1 (00000000/0)
    [INVITE sip:user@rip:16402 SIP/2.0
    Via: SIP/2.0/UDP lip:16402;branch=z9hG4bK177457862f830ef1
    Max-Forwards: 70
    To: "u0" <sip:user@rip:16402>
    From: "0" <sip:user@lip:16402>;tag=1307095421
    Call-ID: 16f33de0-07af-11de-bf1e-929ebee44012@lip
    CSeq: 1 INVITE
    Contact: <sip:user@lip:16402>;isfocus
    User-Agent: Viceroy 1.3
    Content-Type: application/sdp
    Content-Length: 733
    v=0
    o=Dana 0 0 IN IP4 lip
    s=0
    c=IN IP4 lip
    b=AS:2147483647
    t=0 0
    a=hwi:17412:2:2400
    a=iChatEncryption:YES
    a=bandwidthDetection:YES
    m=audio 16402 RTP/AVP 110 121 12 3 0
    a=rtcp:16402
    a=rtpmap:121 speex/16000
    a=rtpmap:122 speex/8000
    a=rtpmap:113 X-AAC_LD/44100
    a=rtpmap:110 X-AAC_LD/22050
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:218866866
    m=video 16402 RTP/AVP 123 126 34
    a=rtcp:16402
    a=rtpmap:123 H264/90000
    a=rtpmap:126 X-H264/90000
    a=rtpmap:34 H263/90000
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:30
    a=RTCP:AUDIO 16402 VIDEO 16402
    a=fmtp:126 imagesize 0 rules 20:640:480:640:480:20
    a=fmtp:123 imagesize 0 rules 20:640:480:640:480:20
    a=rtpID:2833956586
    64.338521 @SIP/Transport.c:2362 type=1 (00000000/0)
    [INVITE sip:user@rip:16402 SIP/2.0
    Via: SIP/2.0/UDP sip:50862;branch=z9hG4bK6d331d5b79997f5c
    Max-Forwards: 70
    To: "u0" <sip:user@rip:16402>
    From: "0" <sip:user@lip:16402>;tag=1328308780
    Call-ID: 18249b6e-07af-11de-bf1e-933597634012@lip
    CSeq: 1 INVITE
    Contact: <sip:user@sip:50862>;isfocus
    User-Agent: Viceroy 1.3
    Content-Type: application/sdp
    Content-Length: 737
    v=0
    o=Dana 0 0 IN IP4 sip
    s=0
    c=IN IP4 sip
    b=AS:2147483647
    t=0 0
    a=hwi:17412:2:2400
    a=iChatEncryption:YES
    a=bandwidthDetection:YES
    m=audio 50862 RTP/AVP 110 121 12 3 0
    a=rtcp:50862
    a=rtpmap:121 speex/16000
    a=rtpmap:122 speex/8000
    a=rtpmap:113 X-AAC_LD/44100
    a=rtpmap:110 X-AAC_LD/22050
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpID:218866866
    m=video 50862 RTP/AVP 123 126 34
    a=rtcp:50862
    a=rtpmap:123 H264/90000
    a=rtpmap:126 X-H264/90000
    a=rtpmap:34 H263/90000
    a=fmtp:34 imagesize 1 rules 30:352:288
    a=framerate:30
    a=RTCP:AUDIO 50862 VIDEO 50862
    a=fmtp:126 imagesize 0 rules 20:640:480:640:480:20
    a=fmtp:123 imagesize 0 rules 20:640:480:640:480:20
    a=rtpID:2833956586
    Video Conference User Report:
    0.000000 @:0 type=5 (00000000/16402)
    [Local SIP port]
    I look forward to your reply!
    Dana

  • Living in Japan and I'm an American who just signed up with Soft Bank the phone service here and spent a TON of money on an iPhone. I can't figure out how to connect my bank account at home to my app account so I can Skype my family. Please help!!!!

    Living in Japan and I'm an American who just signed up with Soft Bank the phone service here and spent a TON of money on an iPhone. I can't figure out how to connect my bank account at home to my app account so I can Skype my family. Please help!!!! I don't have a credit card nor do they gove debit cards to foreigners here, or at least it's really hard so I'm using my bank at home and still have a debit there. My phone number is 8 numbers plus the country code which is strange! Another thing is I was given a phone email that I was told to use for texting but I'm not sure how that works!! It's so frustrating too because no one speaks English here and I'm not very tech savvy. God bless you if you can help :)

    whichever app store you are connecting to, hyou need a credit card with an address in that country. Also, itunes gift cards must be in local currency too.
    If you are in japan, you need to use the japan app store

  • Pages will no longer let me open files that I have previously downloaded, worked on and then saved on my mac. However it will let me open pages documents that I have started from new. I need the other documents to open and can't figure it out. PLEASE

    Pages will no longer let me open files that I have previously downloaded, worked on and then saved on my mac. However it will let me open pages documents that I have started from new. I need the other documents to open and can't figure it out. PLEASE

    I just got my mac a month ago so go easy on me but I was just working with the pages that was already on it, and then today I know it updated, and now I am unable to open a lot of my documents!:(  Idk what you mean by the icloud version lol sorry! As for the version, when I open pages from my apps and click 'about' it says version 5.1? And when I open the document it just goes grey and kind of blinks and doesnt open? No error message or any indication of why it will not open now when I for sure have opened it in the past! Andddd for the OS X I think it is 10.9.1 ??

  • Can't Figure Out If My Macbook Can Upgrade , currently running 10.6.8 and wanted to get latest version os but can't upgrade current os Please Help !!!!

    Can't Figure Out If My Macbook Can Upgrade , currently running 10.6.8 and wanted to get latest version os but can't upgrade current os Please Help !!!! Hardware Overview:
      Model Name: MacBook Air
      Model Identifier: MacBookAir3,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 1.4 GHz
      Number of Processors: 1
      Total Number of Cores: 2
      L2 Cache: 3 MB
      Memory: 2 GB
      Bus Speed: 800 MHz
      Boot ROM Version: MBA31.0061.B01
      SMC Version (system): 1.67f4
      Serial Number (system): C0*******DQX
    processor 1.4 ghz
    mem 2gb 1067 mhz ddr3
    startup disk Macintosh HD
    <Edited by Host>

    You can upgrade to Mountain Lion
    Upgrading from Snow Leopard to Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99.
    If you sign into the App Store and try to purchase Mountain Lion but the App Store says your computer is not compatible then you may still be able to upgrade to Lion per the following information.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer) - Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) - Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) - Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) - Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) - Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) - Model Identifier 3,1 or later
             7. Xserve (Early 2009) - Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • In version 10.1 fcpx how do I edit in proxy, then when I am finished share with optimize footage? It was easy in 10.9 version, but I can't figure this out in 10.1, please help.

    in version 10.1 fcpx how do I edit in proxy, then when I am finished share with optimize footage? It was easy in 10.9 version, but I can't figure this out in 10.1, please help.

    The switch is in the upper right of the viewer.

  • I am using garage band for the first time.  I dragged and dropped a song from itunes into the program and I want to extend the length of the song by repeating the first 28 measures.  I can't figure it out.  Please help

    I am using garage band for the first time.  I dragged and dropped a song from itunes into the program and I want to extend the length of the song by repeating the first 28 measures.  I can't figure it out.  Please help.  I have spent several hours trying to figure it out on my own but have not been successful.  It seems like an easy task.  Can anyone help?

    dewin1or wrote:
    I want to extend the length of the song by repeating the first 28 measures.
    split the region at the 28th measure
    http://www.bulletsandbones.com/GB/GBFAQ.html#split
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    then select only the first region and option-drag it to the end of the song

  • I am having trouble fading out a song at the end of an iMovie.  Also, the volume of the song is too high...I would like it to be more background music?  I have tried everything and can't figure it out...Can anyone help me, Please!!??

    I am having trouble fading out a song at the end of an iMovie.  Also, the volume of the song is too high...I would like it to be more background music?  I have tried everything and can't figure it out...Can anyone help me, Please!!??

    Did you ever resolve the iCloud problem.I am in the same position and its driving me mad!!! If you have a link to an solution I would appreciate it.

  • Since installing FF4 my pages are all scrambled..... black squiggley lines that sometimes fills the whole page or different parts. It is driving me crazy! PLEASE HELP! If I can't figure it out i will have to unistall and that will suck!

    Since installing FF4 my pages are all scrambled..... black squiggley lines that sometimes fills the whole page or different parts. It is driving me crazy! PLEASE HELP! If I can't figure it out i will have to unistall and that will suck!

    Since installing FF4 my pages are all scrambled..... black squiggley lines that sometimes fills the whole page or different parts. It is driving me crazy! PLEASE HELP! If I can't figure it out i will have to unistall and that will suck!

  • Is there a way to remove my facebook contacts from my phone contacts list?  I had an iphone 4 and it was easy to shut off from teh contacts through the groups link at the top left, but the iphone 5s does not have this feature nor can i figure it out throu

    Is there a way to remove my facebook contacts from my phone contacts list?  I had an iphone 4 and it was easy to shut off from teh contacts through the groups link at the top left, but the iphone 5s does not have this feature nor can i figure it out through the settings feature or anything else....HELP please as it is annoying to see all of these contacts!

    Hello ymprice91277, let's solve this mystery! To unlink the Facebook contacts go to Settings, Facebook, turn off contacts.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • I recently purchased a Macbook Pro and when connecting my iPhone 5 to the Macbook's Messages app, I clicked cancel after seeing the 6 digit code. I thought I could easily get that code back to my phone, but can't figure it out at all. Any help?

    I recently purchased a Macbook Pro and when connecting my iPhone 5 to the Macbook's Messages app, I clicked cancel after seeing the 6 digit code. I thought I could easily get that code back to my phone, but can't figure it out at all. Any help?

    Hello Unconscious2015,
    Thanks for using Apple Support Communities.
    If you are trying to configure your Mac to use SMS continuity with your iPhone, then please follow the directions below to configure SMS Continuity.
    To use Continuity for SMS and MMS with your iPhone and your Mac, iPad or iPod touch
    Your iPhone, iPad, and iPod touch need to use iOS 8.1, and your Mac needs to use OS X Yosemite.
    Sign in to iMessage on your iPhone, your other iOS devices, and your Mac using the same Apple ID.
    On your iPhone:
    Go to Settings > Messages > Send & Receive > You Can Be Reached By, and add a check to both your phone number and email address.
    Go to Messages > Text Message Forwarding, and enable the device(s) you would like to forward messages to.
    Your Mac, iPad, or iPod touch will display a code. Enter this code on your iPhone to verify the SMS feature.
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity - Apple Support
    Take care,
    Alex H.

  • Mac desktop. 10.6.8. Text edit. Not locked. Read and write. Still, documents are locking when they are moved from desktop to another folder on the server. Techies can't figure it out here. What am I not doing?

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

  • I am trying to pair my cell phone and tablet using Messages   App,  but only MMS messages will come through on my tablet.   I've tried pairing and unpaired,  reinstalling app on my tablet,  and can't figure it out.   Any idea how to fix this?

    I am trying to pair my cell phone and tablet using Messages   App,  but only MMS messages will come through on my tablet.   I've tried pairing and unpaired,  reinstalling app on my tablet,  and can't figure it out.   Any idea how to fix this?
    Thanks

    I Shared my most ridiculous situation but didn t log under your problem.
    sorry, I gave you your answer under sunshine99 or Dianna. I want out and you want in.
    if you not find just email me at [removed]
    thanks
    Personal information removed as required by the Verizon Wireless Terms of Service
    Message was edited by: Admin Moderator

Maybe you are looking for

  • Since IOS 7 I have not been able to sync all of my songs.

    I have had nothing but issues since I downloaded IOS 7, I am fairly computer literate but I cannot solve this particular problem. After the new system wiped everything off my Iphone, without warning, I had to sync everything again, it all worked, eve

  • Is oracle 8.1.5 compatable with jdk1.2 drivers

    i tried to load the driver class by using Class.forName ("oracle.jdbc.driver.OracleDriver"); Class not found exception was raised . i have [oraclehome]\jdbc\lib\classes111.zip and other zip files in the class path. i have jdk 1.2 on my machine. is or

  • Soap adapter query string

    Sending Soap adapter question If the message id is duplicate , the message is rejected? How does the Query string look? thanks kumar

  • If battery is in palce Powerbook G4 does not start

    Hello, I just had to change to AC adapter/recharger Now my Powerbook G4 1.67 dual lawyer will not start if a battery is in its compartment tha fan goes wild for a minute of so then it shuts down However, if no battery in the compartment, and plugged

  • Trying to prove my PCIe works

    I'm using a Virtex-5 and the LogiCORE IP Endpoint Block Plus v1.15 for PCI Express on an OEM board. I'm using write32(/*bar*/,/*offset*/,/*data*) and read32(/*bar*/,*offset*/) from linux (Fedora KDE 22) to go through my OEM's driver and access the Vi