Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me find the solutions for 1-3. This is for a high school AP computer science class, so please don't use too hard of

Please help me find the solutions for 1-3. This is for a high school AP computer science class, so please don't use too hard of things in the code.

image text in transcribed

Name: Worksheet: 2D Arrays and Loops 2D arrays are helpful in storing information about data collected when a location needs to be stored. In archeology, a dig site is typically divided into a grid of one foot squares that are marked off with string. The following array, grid, represents the number of artifacts found in each square of a dig site: o 8 8 5 3 1. Write the code to print out the total number of square feet at the site. 2. Write the code to find the total number of artifacts found at this dig site. 3. write a method to count how many locations on the grid have a certain number of artifacts. So if 7 is passed in, it would return 5. (back)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

ISBN: 1844804526, 978-1844804528

More Books

Students also viewed these Databases questions