|
Re: Summer Labview Challenge 2
Quote:
Originally Posted by Bpk9p4
The challenge is to create a change machine
Part 1
You have an item that cost X and you are given X amount of money. The program will need to give back the correct amount and least amount of dollars and coins...
|
Here's my submission for Part 1. I converted the change to an integer to ensure nothing less than 1c and to get rid of floating point errors. This was the simplest solution I could come up with, but I'm interested in seeing if anyone can one-up me
Part 2 coming soon...
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)

Last edited by Ari423 : 07-21-2015 at 10:12 PM.
|