Description
Hi, i need two labs coding (two .cpp files NOT .txt)
1.) Using rand() and srand() functions
lab8.1 Data Analysis
there is base code given. in addition to that code. i need 20 randomly created numbers put in 10 intervals.
For example rand[] = (23, 26, 78, 79, 10,)
after assigning numbers into 10 intervals
0-9: 0
10-19: 1
20-29: 2
.....
70-79: 2
Lab8.2
Designing code containing following mechanism;
a) 3 x 4 two dimensional array
b) Initialize with 0 value.
c) Update with random values
d) Show all random values assigned to each item
e) Add user input to retrieve a student index and an exam index.
f) Add a loop for another run.
I have included .pdf file(page 3, 11, 12 is for labs) with more detailed info. Also base code is included in folder. need those two .cpp files before 8PM monday.
Explanation & Answer
providing the...
Review
Review
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Similar Content
Related Tags
The Prince
by Niccolò Machiavelli
All Quiet on the Western Front
by Erich Maria Remarque
The Aftermath
by Rhidian Brook
The Underground Railroad
by Colson Whitehead
Daisy Miller
by Henry James
Tess of the DUrbervilles
by Thomas Hardy
The Secret Garden
by Frances Hodgson Burnett
Enders Game
by E. M. Forster