Thread: What am I missing?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Registered User
    Join Date
    Apr 2017
    Location
    Quetzaltenango
    Posts
    82
    You've written deposits where you meant nm_deposits. You've omitted an ampersand off of a scanf variable. This program is much easier to understand if you reduce the scope of the x variable to the "Get Deposit Amounts" section, and the y variable to the "Get Withdrawal Amounts" section. You can reduce the scope of c and i also.
    Code:
    //Get Deposit Amounts
          { int x = 1;
            while...
              } 
            }
          }
          printf ("\n");
    Last edited by christophergray; 04-10-2018 at 10:11 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. what i am missing here
    By Satya in forum C Programming
    Replies: 4
    Last Post: 05-18-2015, 04:05 AM
  2. what am i missing?
    By pipskie in forum C Programming
    Replies: 8
    Last Post: 11-26-2012, 07:09 PM
  3. Missing
    By jturner38 in forum C++ Programming
    Replies: 3
    Last Post: 11-30-2010, 11:34 AM
  4. what am i missing here??
    By xabhi in forum C Programming
    Replies: 6
    Last Post: 09-03-2010, 10:03 AM
  5. what am i missing now...
    By MK27 in forum C Programming
    Replies: 8
    Last Post: 09-15-2008, 03:13 AM

Tags for this Thread