1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
stiv31 [10]
3 years ago
6

Assume you are given a boolean variable named isSquare and a 2-dimensional array that has has been created and assigned to a2d.

Write some statements that assign true to isSquare if the entire 2-dimensional array is square meaning every row and column has the same number of elements as every other row and column.
Computers and Technology
1 answer:
slamgirl [31]3 years ago
3 0

Answer:

isSquare = true;

for (int i = 0; i < a2d.length && isSquare; i++)

if (a2d[i].length != a2d.length)

isSquare = false;

Explanation:

You might be interested in
Having a legitimate reason for approaching someone to ask for sensitive information is called what?
PIT_PIT [208]
It’s called Impersonation
5 0
3 years ago
Explain how the use of the internet has allowed people to achieve some
zubka84 [21]

I don't know if this is going to help you or not because I'm only 13 but let me know if it helps people can now talk to one another more effectively because of things like zoom and it's become more efficient to work at home because we can have online meetings

5 0
3 years ago
Ip address 10.10.20.0 255.255.255.224 how many host ip addresses are available in each subnet using this subnet mask?
Maksim231197 [3]
224 = 128 + 64 + 32, so that would mean each network could have 32 nodes. Subtract 2 for the network address and the multicast address, you would have 30 HOST addresses available.
3 0
4 years ago
Is a protocol that allows users to log on to and access a remote computer?
kompoz [17]
The answer is yes I hope this help ya out

6 0
3 years ago
Match the network component to its function.
Anni [7]

Answer:

where are the functions??

5 0
3 years ago
Other questions:
  • Explain the steps you take to complete an Internet search. Do you use a particular search engine every time or do you alternate?
    6·1 answer
  • Under what circumstance should you always let Windows manage the paging file size when running Windows Server 2012 and newer?
    15·1 answer
  • reading is important blank areas of life A in very few B in many C only in academic D only in career​
    10·1 answer
  • Your friends’ preschool-age daughter Madison has recently learned to spell some simple words. To help encourage this, her parent
    8·1 answer
  • Describe how an attacker can use whois databases and the nslookup tool to perform reconnaissance on an institution before launch
    8·1 answer
  • Match each item with a statement below. a.Authentication b.Brute force attack c.Dictionary attack d.Password e.Shoulder surfing
    13·1 answer
  • Alex builds a 1 GHz processor where two important programs, A and B, take one second each to execute. Each program has a CPI of
    6·1 answer
  • You want to change your cell phone plan and call the company to discuss options
    7·1 answer
  • A thesis statement is the last sentence of the conclusion. It summarizes the entire paper.
    13·1 answer
  • _____ allows a function or operator to perform different tasks depending on the types of the arguments or operands. Group of ans
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!