for (int counter = 1; counter < temp.length; counter++)
{
if (temp[counter] < low)
{
low = temp[counter];
}
}
System.out.println("The lowest Temperature is: " + low);
for (int counter = 1; counter < temp.length; counter++)
{
if (temp[counter] < low)
{
low = temp[counter];
}
}
System.out.println("The lowest Temperature is: " + low);
low = temp[0]; // add this line
for (int counter=1; counter<temp.length; counter++)
{
// etc.