Monday, May 29, 2017

Day 16

Topics

  • Fingertip Program


Fingertip Program

   The first three questions were all involving counting the number of types of whirls, loops, and arches in a new print. While these were each given separatly and then integrated, I figured I could simply integrate them all together from the start. I thought the programming was screaming easier to do that way anyways.



   Then we were supposed to modify the program to output the categories as a percentage of fingers. I could initialize new variables but I think it would be easier to redefine the ones I already have. Instead of using integers for my counts, I will use doubles. 





   I also realized I could avoid using any new variables, at all, if I redefined the ones I already had. It worked just fine.


No comments:

Post a Comment