This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Write a class called MinMaxPrinter. Using a Scanner, ask the user to enter | |
| //a series of integers and find the maximum and the minimum value. | |
| //Use a loop. | |
| //Do not let bad input (a non-integer) terminate your program with an error. | |
| //When the user enters any non-integer, print the maximum and minimun values | |
| //on separate line and quit. | |
| //If the numbers entered are 5 10 3 8 1, 2 9, the output will be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Controlling a servo position using a potentiometer (variable resistor) | |
| by Michal Rinott <http://people.interaction-ivrea.it/m.rinott> | |
| modified on 8 Nov 2013 | |
| by Scott Fitzgerald | |
| http://arduino.cc/en/Tutorial/Knob | |
| */ | |
| // la control la pornire trebe duty cicle sub 6% | |
| /*** |
NewerOlder