Search:

Type: Posts; User: paulntysmom

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,089

    Thank you :)

    Thank you :)
  2. Replies
    3
    Views
    1,089

    Can someone help?

    Answered Thanks
  3. Thread: Functions?

    by paulntysmom
    Replies
    13
    Views
    1,634

    Thanks everyone for all your help. I finally...

    Thanks everyone for all your help. I finally understand functions :)
  4. Thread: Functions?

    by paulntysmom
    Replies
    13
    Views
    1,634

    This is what I have fixed now, everything seems...

    This is what I have fixed now, everything seems to work (name and correct message gets displayed) so I am assuming I finally did it right?



    #include <stdio.h>
    void print_comment (float amount,...
  5. Thread: Functions?

    by paulntysmom
    Replies
    13
    Views
    1,634

    Ok I updated the my code which is above in my...

    Ok I updated the my code which is above in my previous post (the second code I posted, sorry didn't know I wasn't suppose to that) with my most recent change to the code. I only have one function in...
  6. Thread: Functions?

    by paulntysmom
    Replies
    13
    Views
    1,634

    Still confused and I have no clue why?? Can you...

    Still confused and I have no clue why?? Can you maybe give me an example where I used the void print_comment (float amount); and show me how it suppose to be set up in my code? Then I might be able...
  7. Thread: Functions?

    by paulntysmom
    Replies
    13
    Views
    1,634

    I re-read your post many times the problem is I...

    I re-read your post many times the problem is I don't understand what I am doing wrong??? :( I am so lost. Will I ever get this?
  8. Thread: Functions?

    by paulntysmom
    Replies
    13
    Views
    1,634

    Newest update to code #include ...

    Newest update to code



    #include <stdio.h>
    void print_comment ( current_balance, first_name) //to print comment based on amount

    {
    printf ("*** The closing balance is $%.2f ***\n",...
  9. Thread: Functions?

    by paulntysmom
    Replies
    13
    Views
    1,634

    Functions?

    Still trying to learn functions and I am not sure if I am doing it right. Can someone take a look at my code (Please) I added two functions into it. Did I do them right?



    #include <stdio.h>...
  10. Replies
    5
    Views
    1,043

    Thanks for the link and I will definately read up...

    Thanks for the link and I will definately read up on functions some more. For the first function I did I know I did it wrong, but I have no clue what I did wrong and how it's suppose to be right. ...
  11. Replies
    5
    Views
    1,043

    Help with functions please :)

    I am starting to learn functions now (self teaching) and I am really confused and lost. Although I have incorporated one function so far into my program, could someone give me an example of another...
  12. Replies
    2
    Views
    1,360

    Thanks swoopy :)

    Thanks swoopy :)
  13. Replies
    2
    Views
    1,360

    1 small question

    Thank you :) question answered.
  14. Replies
    8
    Views
    1,766

    Ok from everyones help. I should be writing it...

    Ok from everyones help. I should be writing it like this?


    /*If balance goes to zero, no more withdrawals should be made*/
    ...
  15. Replies
    8
    Views
    1,766

    I actually updated it to this before even seeing...

    I actually updated it to this before even seeing your post, after reading more in the four books I have. Trying to self teach myself.
    you should probably use the comparison ==, not the assignment...
  16. Replies
    8
    Views
    1,766

    I want it that if the withdrawal amount exceeds...

    I want it that if the withdrawal amount exceeds the current balance (including new deposits) it should output the following " Withdrawal amount exceeds current balance, it should then reprompt the...
  17. Replies
    8
    Views
    1,766

    I can't figure this out!

    I have this whole program working except for the following:

    If the current balance goes to zero, then no more withdrawals should be made and it should output a message " Sorry you have no money to...
  18. Thank you :) That clears it up for me :)

    Thank you :) That clears it up for me :)
  19. What is the fundamental difference between the do loop and the while loop?

    Question:

    What is the fundamental difference between the do loop and the while loop?

    Thanks :)
  20. Thank you so much :) I now understand what I was...

    Thank you so much :) I now understand what I was missing. I am happy to know I was almost there. It's all still a learning process for me. I am a newbie, but hope to someday become a programmer. I...
  21. ok I am confused??? Sorry I am a newbie trying to...

    ok I am confused??? Sorry I am a newbie trying to teach myself.


    You want to save gallons_used rather then total_gal and total_miles

    The average at the end will be gallons_used/3.0


    So I...
  22. Thanks for the help :) I set the total_miles to 0...

    Thanks for the help :) I set the total_miles to 0 but I am still coming up with 26.2 instead of the required 21.5??? Any idea's why?
  23. Can't figure out for the life of me what I am doing wrong.

    I have been working on this one program for 3 weeks now and can't figure out for the life of me what I am doing wrong.


    I can't calculate the overall average for (total miles divided by total...
  24. Thank you crazedbrit I finally got it to work :)...

    Thank you crazedbrit I finally got it to work :) I appreciate everyones help :)
  25. I just got your pm and I think I know what I am...

    I just got your pm and I think I know what I am doing wrong now :) I will work on it and let you know :)
Results 1 to 25 of 35
Page 1 of 2 1 2