Help with this program FAST please!

Discussion in 'Software' started by Anon-15281db623, Oct 13, 2004.

  1. Anon-15281db623

    Anon-15281db623 Anonymized

    This is an exercise from my VB.Net book.

    Create an application that allows the user to enter a number of pennies. The app. then calculates the number of dollars, quarters, dims, nickles, and pennies that the user would receive if her or she cashed in the pennies at the bank.

    I can calculate the dollars ok, but when it comes to the quarters, dimes, ect. I get lost, and confused, and my head starts to hurt. ;)

    Can anyone guide me here. I belive if i could get the quarters to work out i can finish up everything else. :)

    Here is my code so far. I deleted the windows generated code. Makes it easier to look through.

    Help is greatly appreciated. :)

    :cool:

    cooked
     

    Attached Files:

  2. goldfish

    goldfish Lt. Sushi.DC

    Well, the logic would go:

    Divide up into dollars -> minus the number of whole dollars from the initial ammount
    Divide up into quartars - > minus the number of whole quarters from the initial ammount

    ... and so on.

    I can't really see how the form you've made works, so thats about as much as I can tell you :)
     
  3. Anon-15281db623

    Anon-15281db623 Anonymized

  4. Anon-15281db623

    Anon-15281db623 Anonymized


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds