Wednesday, August 13, 2014

Mostly sunny....low 80's...Beautiful Day...

I woke up and worked out for 20 minutes...
then walked for 10-12 minutes...then 15 minutes on the Nu-Step...

Angela stopped by...thanks...

I did my usual afternoon workout and standing routine...

Life is good...Thanks Annie...

Here's what I've been learning lately…

table = new SimpleTable("survey-2012.csv");
table.convertToLowerCase();
count1 = 0;
count2 = 0;
for (row: table) {
 
    if (row.getField("soda")=="coke"&&
        row.getField("color")=="red"){
 
    count1 = count1 + 1;
    }
    if (row.getField("soda")=="coke"&&
        row.getField("color")=="blue"){
 
    count2 = count2 + 1;
    }

}
print("red",count1);
print("blue",count2);
 

No comments: