Calculator with LED Digital Display in Java or Visual Basic
$30-250 USD
Cancelled
Posted over 13 years ago
$30-250 USD
Paid on delivery
Write a program that contains three classes: Bar, LED, Calc. The Bar class will display a Bar that can be set to two states: Black or Red (Green, Blue, Cyan, Etc. OK!). Then inherit the Bar class into the LED class seven times so the bars form an LED. Create methods that will set the LED to display the hex digits from 0 to F. (Note that 'b' and 'd' will be lower case!) Finally create a Calc class that inherits the LED class eight times to create an eight digit display. Calculator should have at least two modes: Decimal and Hex (add Binary for extra credit.) The calculator must be able to Add, Subtract, Multiply, and Divide the values input in the selected mode and display 'Error' if the value is not displayable! Project is due on Sept. 30, 2010