ENGR 6 HW 11-07-2017
This week's homework is to use structure function and print out the answer.
*Given code which state W for whorls, L for loops, and A for arch.
*I used for loop to count how many time whorls, arch, and loops comes up. And write some calculation to change those number to percentage.
*For the given code, we need to change _ to dot enable for the code to work.
* And this is my output answer for number of time that whorls, loops, and arch come up. And percentage of each.
Comments
Post a Comment