Skip to content

klapro/test-fan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-fan

Assignement

In Java, implement a simple ceiling fan with these characteristics: • The unit has 2 pull cords: One increases the speed each time it is pulled. There are 3 speed settings, and an “off” (speed 0) setting. If the cord is pulled on speed 3, the fan returns to the “off” setting. One reverses the direction of the fan at the current speed setting. Once the direction has been reversed, it remains reversed as we cycle through the speed settings, until reversed again. • You can assume the unit is always powered (no wall switch)

Software

The software runs with gradle on java. You will need to have gradle with java.

About

Test fan for mediavie interview

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages