# 01:198:110 Lecture Notes - Lecture 15: Negative Number

72 views3 pages
Verified Note
24 Oct 2018
School
Professor

## Document Summary

Function is a built in formula ( - indicates inputed number) : absolute value (makes a negative number positive) : remainder of division (7 mod 3 = 1 (3+3=6; 7/6 rem 1) : general rounding concepts, up at . 5, down below. : when decimal, round up no matter how small the decimal. : when decimal, round down no matter how large the decimal. Examples of how to write scratch on a test: Q: how many numbers entered (input) by the user are multiples of 5 (multiple of 5 means number divided by five has no remainders) Q: how many numbers from 1-20 inclusive are multiples of 5. Would say 5, 10, 15, 20, 4 numbers are multiples of 5" (pay attention to all instructions given when looking for resulting output, not just the bottom resulting output) Mod 2 will only result in even numbers.

## Get access

\$40 USD/m
Billed monthly
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class