Quiz Unit 11A - vector [a, b, c] will return the result of...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Student File Submission Assignment Unit11_LabA_miniquiz 1. Using an IF loop, write a function that takes one input, of a number greater than 1, but less than 99, and outputs the number of times 25 can be subtracted from the input without a negative result. The output should be an integer between 0 and 3. Name your function Quiz1 . Possible Points: 3 Grade for part 1:0 Comments: 2. Using a FOR loop, write a function that takes one input, a vector, and outputs the running quotient of the input vector. For example, a three-element input
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: vector [a, b, c] will return the result of Name your function Quiz2 . Possible Points: 3 Grade for part 2:4 Comments: 3. Using a WHILE loop, write a function to determine how many terms in the following series are required for the product of the series to exceed 1000: , Your function will have no inputs, and should output the number of terms in the series. Name your function Quiz3 . Possible Points: 4 Grade for part 3:4 Comments:...
View Full Document

Ask a homework question - tutors are online