Quiz 7

Hey guys is the LAST quiz!   Thank you God.

images (2)

This was an easy one, we will calculate the dot product of a list of numbers. As we have seen we need an array to take the list and a simple for to make the rest of the job .

THE CODE 

First I create a function wich receives the lis of numbers and calculate the product of each corresponding number and at the same time it adds the prducts.

After that you just need to take the lis of numbers on the main part and it is ALL.

 

CC BY-SA 4.0 Quiz 7 by alibarramg is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.