Question:
simple bank account C program pleas help!!?
sportsd92
2012-11-18 11:59:10 UTC
I need to create a bank account prrogram with the following functions:
- void print_greeting (void); - This function prints an explanation of the program to the user. You should assume the user knows nothing about the program and give a detailed explanation.
- void print_menu (void); - This function displays the menu to the screen.
- float get_positive_value (void); - This function gets a positive (greater than 0) value from the user. It should error check the user input to make sure the value is greater than 0, and loop until the user enters a proper value. (We written this kind of loop many times during the term, so refer to old lecture slides.) It takes no arguments and returns the value entered by the user. You should use this function to get the beginning balance from the user. You should also use it to get the amount to withdraw or deposit.
- float withdrawal (float balance, float withdrawal_amt); - This function takes the current balance and the amount to withdraw. It returns the new balance after the withdrawal is made.
- float deposit (float balance, float deposit_amt); - This function takes the current balance and the amount to be deposited as arguments. It returns the new balance after the deposit is made.
- void print_receipt (int total_withdrawals, int total_deposits, float beg_balance, float balance); - This function prints an account summary to the screen. It should list the total number of withdrawals, the total number of deposits, the beginning balance and the ending balance. It does not have to match the sample output exactly.

the options for the display are
1. withdrawal
2. deposit
3. account summary (displays end balance, beg balance, and the amt of withdrawals and deposits made)
4.quit

Please help I have no idea how to write these
Three answers:
?
2012-11-18 16:51:51 UTC
C Program for Banking System.

http://www.technicalsymposium.com/program_for_bank_operation.html
2016-12-07 08:55:15 UTC
i think of that I understand: "there is not any such element as finished, while component of you is lost; and no such element as very final, once you won't be able to undergo the fee." because of the fact the poem stands, i've got have been given some subject concerns: (a million) The shape of the poem is high-quality, yet once you're implementing a inflexible shape (that's thoroughly high-quality), you could desire to count selection the syllables in each line and additionally examine the place the emphasis/stress factors are. indexed below are 2 first traces from 2 distinctive stanzas: SHARing your self ability BORrowing - 8 syllables/stress a million and six and there is not any such element as freedom - 7 syllables/stress 2 the 2d occasion form of trails off, you notice? (2) The topic is slightly muddy. average, it seems such as you have strung at the same time some critiques and aphorisms without truly backing them up. you have have been given too many ability subjects and not sufficient progression. (My opinion). the final element you're able to do is to %. between the subject concerns you care approximately and persist with it. (Opinion, back) (3) The verb "to be" is one in each of my bugbears. that's that this and that's which could get to be very tedious for the reader. (4) which outcomes interior the final situation, that's emotion or feeling. because of the fact the poem will become a chain of pronouncements, besides the reality that it relatively is approximately being concerned or forgiveness or romance or self-love (despite the fact that), i'm left unconvinced because of the fact the tone is flat. I very plenty cherished those 2 traces: "...forgiveness brings the exchange, that's cleansing for the soul." you could desire to construct an epic around those 2 traces. besides, i desire this enables. save writing, and robust issues will come. all the final.
Ajay D
2012-11-19 03:52:02 UTC
If you wish, I can teach you C, now for free. Later you can pay me.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...