I am trying to write statements that assign random integers to the variable n in the following ranges;
a) 1 greater than or equal to n greater than or equal to 2 (did not know how to make the greater than or equal to symbol appear here so I wrote it out.
b) 1 greater than or equal to n greater than or equal to 100
c) 0 greather than or equal to n greater than or equal to 9
d) 1000 greater than or equal to n greater than or equal to 1112
e) -1 greater than or equal to n greater than or equal to 1
f) -3 greater than or equal to n greater than or equal to 11.
Does any one have helpful hints, tips etc.
Thanx!!
a) 1 greater than or equal to n greater than or equal to 2 (did not know how to make the greater than or equal to symbol appear here so I wrote it out.
b) 1 greater than or equal to n greater than or equal to 100
c) 0 greather than or equal to n greater than or equal to 9
d) 1000 greater than or equal to n greater than or equal to 1112
e) -1 greater than or equal to n greater than or equal to 1
f) -3 greater than or equal to n greater than or equal to 11.
Does any one have helpful hints, tips etc.
Thanx!!