01:198:110 Lecture 5: Lecture 10.22.15

43 views2 pages
tanmarten476 and 2 others unlocked
01:198:110 Full Course Notes
35
01:198:110 Full Course Notes
Verified Note
35 documents

Document Summary

Modulus operator (mod: sprite asks for a whole integer, a whole integer is input. 3. the sprite says whether the input is even or od. Ask (give me a whole number) and wait. Say that"s an even number for 2 seconds. Say that"s an off number for 2 seconds. Runs the blocks inside a specified number of times. Continually checks whether the condition is true; runs the blocks inside until the condition evaluates to true. You know exactly how many times you will execute the code. Suppose a teacher wants to find the average of the test scores of the students in the class. Supposed a teacher wants to find the average of the test scores of the students in the class. Loop 10 times ask for grade add grade to sum average=sum/10 display average. Suppose a teacher wants to find the average of the test scores of the students in class.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents