Computer Science > QUESTIONS & ANSWERS > University of Texas, Dallas - CS 2336Worksheet 5.2 - 2D Array Practice (All)
AP Computer Science Worksheet: 2D Arrays 2D Arrays 1. Declare and initialize a 3 x 3 two-‐dimensional array that has ... the numbers 1-‐9 in it using an initializer list. 2. Declare and initialize a 4 x 10 two-‐dimensional array. Then set each element to some random whole number between 50 and 100 (inclusive). 3. On the array you declared in #2, count and print the number of elements that are greater than 75. 4. Write a method that will take in a 2D array (pre-‐condition: it is an N x N array) of integers and [Show More]
Last updated: 2 years ago
Preview 1 out of 2 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Mar 11, 2021
Number of pages
2
Written in
This document has been written for:
Uploaded
Mar 11, 2021
Downloads
0
Views
88
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·