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
vovikov84 [41]
3 years ago
5

. The variable numbers is a 2-dimensional array of type int; output all of its elements that are strictly greater than 10

Computers and Technology
1 answer:
lana66690 [7]3 years ago
3 0

Answer:

// here is code in c++.

#include <bits/stdc++.h>

using namespace std;

int main()

{

   // variable to read row and column of 2-d array

  int r,c;

  cout<<"enter the number of row:";

  // read number of row

  cin>>r;

  cout<<"enter the number of column:";

  // read number of column

  cin>>c;

     // create an array of size rxc

  int arr[r][c];

  cout<<"enter the elements of the array:"<<endl;

     // read the elements of 2-d array

  for(int i=0;i<r;i++)

  {

      for(int j=0;j<c;j++)

      {

          cin>>arr[i][j];

      }

  }

  cout<<"numbers which are greater than 10 in 2-d array"<<endl;

  for(int i=0;i<r;i++)

  {

      for(int j=0;j<c;j++)

      {

          // if element is greater than 10, print it

          if(arr[i][j]>10)

          cout<<arr[i][j]<<" ";

      }

      cout<<endl;

  }

  return 0;

}

Explanation:

Read the size of 2-d array i.e row and column.Create a 2-d array of size rxc of integer type.Read the elements of the array. Then traverse the array and if an element if greater than 10 then print that element.

Output:

enter the number of row:3                                                                                                        

enter the number of column:3                                                                                                    

enter the elements of the array:                                                                                                

23 45 53 78 1 9 6 8 77                                                                                                                                

numbers which are greater than 10 in 2-d array                                                                                  

23 45 53                                                                                                                        

78                                                                                                                              

77        

You might be interested in
Many ____ classes for certification are available on the Internet and by many companies that have set up intranets within their
Marina86 [1]

Many <u>online training</u> classes for certification are made available for students on the Internet and by many companies that have set up intranets within their organizations.

Certification can be defined as a recognition that is given to an individual (student) for the completion of a specific course of study and passing an examination. Thus, it usually issued to certify that an individual is a professional in a particular course of study.

Some examples of certifications that are issued to an individual (student) include the following:

  • CCNA
  • Comptia A+
  • HSE I and II

In this context, many companies with intranet facilities within their organizations offer <u>online training</u> classes for certification by making them available for students over the Internet.

Read more on certification here: brainly.com/question/1391803

5 0
2 years ago
Does anyone know what the name of the game is, where you click on the grey dots in a 3x3 grid and try to make them all the same
antoniya [11.8K]

Answer:

Its the pattern puzzle game.

Explanation:

The answer is straight forward. Its a pattern puzzle game, and here we need to change everything to same color, and that is a pattern of this pattern game. Many forms of such pattern games are available, but this one happens to be the most popular among them all, and is widely used by various people of all ages to pass their time.

3 0
3 years ago
Does anyone know what this logo is??
scoray [572]

Answer:

I have got no idea it looks like an older style

8 0
2 years ago
Read 2 more answers
explain the joke, “There are 10 types of people in the world: those who understand binary and those who don’t.”
tino4ka555 [31]

Answer:

Binary is made up of only 2 digits: a one and a zero. 1011 is eleven in our counting system.

So 10 in binary = 2 in our counting system.

Read the joke as follows. There are 2 types of people in the world: those who  understand binary and those who do not.

I guess it's not really that funny, but computer programmers like it.

6 0
1 year ago
Which of the following is an example of physical noise?
solniwko [45]
What are the options

6 0
3 years ago
Other questions:
  • Pix blocks półfinały skilled
    7·1 answer
  • Which device on a network performs network address translation?
    8·1 answer
  • Software that instructs the computer how to run applications and controls the display/keyboard is know as the
    8·1 answer
  • nside of your organization that checks how often client machines access it. If a client machine hasn't accessed the server in th
    6·1 answer
  • Which of these networks is primarily for posting and viewing photos?
    8·2 answers
  • Normal wear and road conditions can take their toll on a car’s steering and suspension system, altering __________. A. wheel ali
    15·2 answers
  • If you are involved in a collision that results in property damage, injury, or death, you must call
    13·1 answer
  • What is the local portion of the e-mail address below? <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="
    15·1 answer
  • Which of the following is a key aspect of any IT position? installation of fiber optic cables
    14·2 answers
  • Develop a program to sort a file consisting of bonks details in the alphabetical order of author names. The details of books inc
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!