Tuesday, October 19, 2010

Tuesday October 19th, 2010

YES!!!
Today, for cross country, I came in 8th in our region and our grade 9 boys team came in 2nd in our region, meaning that next Tuesday, we're going to Etobicoke for the city championships and miss another day of school :(
Anyways, I've already finished questions 1-5 excluding question 4. For question 4, I've added a lot of variables so now, the program asks for a starting and ending month, day, and hour, however, I cannot get the arithmetic correct. The database for the variables are all integers, but when I subtract the start day from the end day and multipy that number by 24 (hours) so that I can add that number to the difference in hours that the user provides me to find the total hours it took to reach that many kilometres, the product of 24*the number of days does not appear. Furthermore, I cannot think of a way to express the difference between the number of months (some months have 31 days, 30, or 28) but I think that I'll cross the month part out so that my program will only ask for the difference in days and hours...
That's all for today...

No comments:

Post a Comment