I am in the process of learning VBNET i am working on a program that wants me to use an input box so the user can insert an amount of pennies. ideally the projram is supposed to come up with the result on how many dollars, quarters, dimes,nickels, and pennies the user wouldget for cashing in thire pennies. My problem is im not sure what math procedure i sould use and how to word it. can someone give me some ideas???
djinn1971
0
Newbie Poster
Recommended Answers
Jump to PostYou don't need any math procedure (assuming you mean a library function) as this task involves no more than is simple arithmetic:
Do While pennies >= 5 If pennies >= 100 Then dollars += 1 pennies -= 100 Else If pennies >= 25 Then quarters += 1 …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.