Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jashatton/64e9d46476bf742b4881 to your computer and use it in GitHub Desktop.
Save jashatton/64e9d46476bf742b4881 to your computer and use it in GitHub Desktop.
Average temperature removing bad temperatures
public class GetAnAverageWithBadTemperaturesTemplate {
public static void main(String[] args) {
int[] temperatureReadings = { 1, 34, 45, 30, 46, 40, 45, 500, 40, 50,
55, 56, 62, 2, 200, 40, 55, 49, 60, 59,
70, 68, 71, 90, 60, 70, 65, 66, 72, 68, 81 };
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment