Question: In C++ and code::blocks please Q1 Write statements that assign random integers to the variable n in the following ranges: a) 1n2 b) 1n100 c)
In C++ and code::blocks please

Q1 Write statements that assign random integers to the variable n in the following ranges: a) 1n2 b) 1n100 c) 0n9 d) 1000n1112 e) 1n1 f) 3n11 Q2 For each of the following sets of integers, write a single statement that will print a number at random from the set. a) 2,4,6,8,10. b) 3,5,7,9,11. c) 6,10,14,18,22
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
