Search:

Type: Posts; User: cullman

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,434

    Elysia is right, you should refer to your...

    Elysia is right, you should refer to your tutorials.
    And indenting the code is very good for readibility, if you had 100's of lines of code without indenting, how are you ever going to find what...
  2. Thread: Dev C++

    by cullman
    Replies
    13
    Views
    2,074

    At the end of the main function before return 0;...

    At the end of the main function before return 0; type system("pause");
  3. I just did pennies =( pennies + 1)/100 to get the...

    I just did pennies =( pennies + 1)/100 to get the amount of pennies that day in dollar form
  4. Well i got it now but i dont understand what you...

    Well i got it now but i dont understand what you mean initialize it out of the loop, i did initialize and declare all my variables in the beginning
  5. Because day 1 wouldnt start with penny unless i...

    Because day 1 wouldnt start with penny unless i set penny to 1 and did two seperate cout statements but then the rest of the program wouldnt work because i needed to add up all the pennies and cout...
  6. thats what i was thinking at first but it doesnt...

    thats what i was thinking at first but it doesnt work...

    NEVERMIND! before i posted this i wanted to try it out a couple times and i got it!!! i made the counter start at -1 so it would go to 0...
  7. Adding pennies together every day they add together HELP

    Hi this is a homework assignment, and I dont want anybody to just give it away because I really want to learn my self but I am so stumped.. I understand I need too add the first number of pennies...
  8. Replies
    2
    Views
    4,374

    Use modulus...im not sure how to spell it but it...

    Use modulus...im not sure how to spell it but it is an arithmetic symbol that looks like this. % .
    Which gives the remainder of a number divided by a number. Hope that helps a little bit
  9. Replies
    8
    Views
    1,709

    yeah I didn't understand what his code was at...

    yeah I didn't understand what his code was at first and then i realized that he is saying If the age is less than two then it is gonna be a male if the user enters M or a female if they enter...
  10. Replies
    8
    Views
    1,709

    well looks like i dont know how to post because I...

    well looks like i dont know how to post because I just replied with this long thing but it came out to be code /code for some reason...

    but what i said pretty much was couldnt you just do and it...
Results 1 to 10 of 11