I just finished quiz 10. The first question asked to create a a function called findThrees that recieves as a parameter a vector\/array\/list of numbers and returns the sum of all numbers in that vector\/array\/list that are evenly divisible by 3. Here’s a screenshot of my code running so that you can appreciate better how this program works.<\/p>\n
<\/p>\n
The second question asked to create a function called dotProduct that recieves two vectors\/arrays\/lists of numbers (say v1 and v2). The function returns what the dot product of the two vectors\/arrays\/lists is. Here’s a screenshot of my code running so that you can appreciate better how this program works.<\/p>\n
<\/p>\n
Nevertheless, I’ll leave here the links to my GitHub repository where i have my code for both q1 and q2. Feel free to have a look at them:<\/p>\n
q1 : https:\/ q2: https:\/ #QUIZ10<\/a><\/p>\n #TC1014<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":" I just finished quiz 10. The first question asked to create a a function called findThrees that recieves as a parameter a vector\/array\/list of numbers and returns the sum of all numbers in that vector\/array\/list that are evenly divisible by 3…. Continue reading