01:198:110 Lecture 5: Lecture 10.22.15

51 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+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents