Arithmetic Functions Flashcards
1
Q
Arithmetic functions
A
Arithmetic functions enables you to code arithmetical operators- random, range, round, truncation- in a program.
2
Q
Random
A
Generates a random number.
3
Q
Range
A
Creates an array of elements using the range of values in the brackets.
4
Q
Round
A
Rounds a number down to the nearest whole number.
5
Q
Truncation
A
Rounds a number down to the number of decimal places in the brackets.