how do you create 2 dimensional array with c++?

Answers

Answer 1

2 dimensional arrays in C++ are arrays that have 2 dimensions i.e. rows and columns

How to create the array?

To create a 2-dimensional array in C++, you make use of the following syntax

data_type array_name[rows][columns];

Assume the following parameters:

The data type of the array is integerThe array name is StudentsThe array has 10 rows and 20 columns.

The declaration of an array with the above properties would be:

int Students[10][20];

Read more about arrays at:

https://brainly.com/question/22364342


Related Questions

What is a collection of information in a
row representing one object called?

Answers

Record in terms of ict

Because stderr and stdout represent the results of a command and stdin represents the input required for a command, only stderr and stdout can be redirected to/from a file. True or false?.

Answers

It is a false statement that only stderr and stdout can be redirected to and from a file because they represent the result of a command and input required for a command respectively.

What is stdout?

Its means standard output which is the text output of a command is stored in the stdout stream.

What is stdin?

Its means standard input which is the text input of a command that is stored in the stdin stream.

What is stderr?

Its means standard error which is an error message stored in the error stream whenever a command faces an error.

In conclusion, It is a false statement that only stderr and stdout can be redirected to and from a file.

Read more about stderr

brainly.com/question/1191244

A person can only give blood to someone with compatible blood antigens. If a person receives blood from someone with an incompatible blood type, it can cause a life threatening immune system reaction. The blood transfusion will likely fail.
Your program should ask a user’s blood type first, then if she/he want to learn about giving or receiving blood. Based on the blood type and choice of give or receive, your program will print the corresponding compatible blood types.
NOTE, if the blood type or give/receive choice entered doesn’t exist, the program should promote the user to re-enter it again.

Answers

The antibodies will see the blood donor as foreign and attack the donated blood

This is an example of what type of formula? =AVERAGE(D1:D17) A. ADDITION
B.SUBTRACTION C.RANGE D.AVERAGE

Answers

Answer:

d average

Explanation:

average as it already shows it says average

Write the pseudocode for the following scenario. The final exam marks for 10 students are 65, 45, 78, 65, 89, 65, 79, 67, 75, and 63. The marks are stored in an array. Find: • The student with the highest mark. • The student with the lowest mark. • The total marks for all the students. • The overall average.

Answers

The pseudocode of the program serves as a prototype of the program

How to determine the pseudocode?

The pseudocode of the program is as follows:

StartDeclare array MARKSInput MARKS[0] to MARKS[9]Sort MARKSPrint MARKS[9] ----- this prints the highest markPrint MARKS[0] ----- this prints the least markFOR I = 0 TO 9; ADD MARK[I] TO TOTALPrint TOTALPrint TOTAL/10Stop

The above pseudocode gets input for the array; then sorts the array before performing the required operations

Read more about pseudocodes at:

https://brainly.com/question/24735155

Networking essentials

Answers

Answer:

Gain the essential knowledge and skills required to configure, troubleshoot, manage and protect a data network.

Explanation:

True or False: F Layout is better for users who read left to right, but layout is better for users who read right to left.

Answers

Answer:

false

Explanation:

it depends on the user

1. My grandma and I went shopping to look for old
clocks. She loves to decorate her house with rare
items. My grandma will spend days finding things
that no one else has. She tries to find items that
not many people have ever seen before.
What does the word rare mean as it is used in the
passage?
a. kind
b. usual
C.
c. common
d. uncommon

Answers

Answer:

uncommon

Explanation:

it's not common or usual because no one else finds the things

it's not kind because inanimate objects don't show feelings

Walter D is 7 inches after he has secx its 9 inches how much did secx add?

Answers

Answer:

2

Explanation:

Hope this helps <3
(I also just want to note that this question is a bit sussy lol)

Suppose that you have a computer with a memory unit of 24 bits per word. In this
computer, the assembly program’s instruction set consists of 198 different operations.
All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.
1. How many bits are needed for the opcode?
2. How many bits are left for the address part of the instruction?
3. How many additional instructions could be added to this instruction set without
exceeding the assigned number of bits? Discuss and show your calculations.
4. What is the largest unsigned binary number that the address can hold?

Answers

Answer:

a )   The amount of bits required for the opcode

 8 bits

2^8=  256        

 256>198

 We get the next lower number, which is 2^7 = 128 bits, because it is greater than 198. As a result, the operation code necessitates 8 bits.

b)   The number of bits reserved for the instruction's address.

 16 bits

 24-8  =  16

c)  

 65536

2^16  =  65536

 Maximum number =  65535

  2^15 = 32768-1

 =  32767

Explanation:

Given three floating-point numbers x, y, and z, output x to the power of y, x to the power of (y to the power of z), the absolute value of x, and the square root of (x * y to the power of z). Output all results with five digits after the decimal point, which can be achieved as follows: Put result to output with 5 decimal places Ex: If the input is: 5.0 2.5 1.5 the output is: 55.90170 579.32402 5.00000 6.64787

Answers

Answer:

i feel that python is the best language

Explanation:

s to write a Python-program that uses training data to choose the four ideal functions which are the
best fit out of the fifty provided (C) *.
i) Afterwards, the program must use the test data provided (B) to determine for each and every x-ypair of values whether or not they can be assigned to the four chosen ideal functions**; if so, the
program also needs to execute the mapping and save it together with the deviation at hand
ii) All data must be visualized logically
iii) Where possible, create/ compile suitable unit-test
* The criterion for choosing the ideal functions for the training function is how they minimize the sum of all ydeviations squared (Least-Square)
** The criterion for mapping the individual test case to the four ideal functions is that the existing maximum
deviation of the calculated regression does not exceed the largest deviation between training dataset (A) and
the ideal function (C) chosen for it by more than factor sqrt(2

Answers

Use the knowledge in computational language in python is possible write the data about a function and the summation.

How to define function in Python?

In Python, a function is a sequence of commands that performs some task and that has a name. Its main purpose is to help us organize programs into chunks that correspond to how we envision a solution to the problem.

So in an easier way we have that the code is:

def plus(a,b):

 return a + b  

class Summation(object):

 def sum(self, a, b):

   self.contents = a + b

   return self.contents

sumInstance = Summation()

sumInstance.sum(1,2)  

See more about python at brainly.com/question/18502436

how bridges are built over water

Answers

It’s all depending on what method

An IT infrastructure manager is reviewing his company's computer assets, particularly the mean time to failure (MTTF) of the PC and server hard drives. The manufacturer of the hard drives typically used in the company states that the MTTF is approximately 11 years. Because servers and some high-priority workstations must operate continuously except for brief periods of maintenance, how many hours, on average, can these hard drives be expected to operate before failure

Answers

The numbers of  hours, on average, can these hard drives be expected to operate before failure is 24 hours a day, also seven days a week and 365 days a year.

How many hours can Hard drive last?

The total life-time of a hard disk is said to be 5 years" that is about 43,800 hours of been in constant use.

Note that a key  reliability-linked criterion for the selection of storage components is based on its operating duty that is the numbers of  many hours in a day a drive can be active for.

A lot of HDDs used by Enterprise-class applications are said to be optimized for constant use that is 24 hours a day, seven days a week, and 365 days a year.

Note that a Managed Service Provider (MSP) have to plan for a failure in every 1000 hours that is about 42 days.

Learn more about hard drives from

https://brainly.com/question/1558359

You can use the___
to copy data from Excel to Access.

Answers

Answer:

You can use the Import spreadsheet wizard program.

Explanation:

On the Office ribbon, select the External Data tab and click Excel. The "Get External Data - Excel Spreadsheet" wizard appears. In the File name field, browse to the Excel file. Select the "Import the source data into a new table in the current database" option and click OK.

Dalton completed a research project with Word Online. He would like to print and show it to a family member. Which ribbon tab does Dalton need to select to print a document with Word Online a review b file c home d view

Answers

The ribbon tab that Dalton needs to select to print a document with Word Online is: B. file.

What is Word Online?

Word Online can be defined as a word processing software application that is designed and developed by Microsoft Inc., so as to enable its end users type, format and save text-based documents over the internet.

Generally, the print command is located in the file section of the ribbon tab in Word Online and as such Dalton needs to select it from there.

Read more on Word Online here: https://brainly.com/question/18272535

Draw a rectangle, give its perimeter and Area
Ask the user for a length and width of a rectangle.
Draw the rectangle
find and show the perimeter
find and show the Area

Answers

I am assuming this is in python, so I will use comments to explain each step

l=int(input('What is the length of the rectangle')

w=int(input('What is the width of the rectangle')

#here use whatever graphics code required to draw the rectangle

#will probably be similar to rect=Rectangle(l,w)

print('Perimeter is' +(2*l+2*w))

print('Area is' +(l*w))

[ASAP!] Which of these can be a problem for people with accessibility issues? Select 4 options.

1. using all uppercase text
2. using left-aligned text
3. putting two spaces after a period
4. flashing images
5. using an image instead of text​

Answers

The answers are:

- Using all uppercase text

- Putting two spaces after a period

- Flashing images

- Using an image instead of text

Proof:

Using full capital text, inserting two spaces after a period, flashing pictures, and using an image in place of text are all accessibility issues. Options A, C, D and E are correct.

What are the accessibility issues?

When providing access to the product or service, the following accessibility concerns must be taken into account:

Visual problems including color blindness or poor vision.Similar to photosensitive epilepsy, seizures.Mobility or motor problems, such as those of wheelchair users.

Making information, activities, and/or surroundings understandable, relevant, and useable for as many individuals as feasible is the practice of accessibility. Architectural design is a typical instance of accessibility that we have all probably seen.

Accessibility concerns include utilizing all capital letters, adding two spaces after a period, flashing images, and replacing text with an image.

Therefore, option A, C, D and E are correct.

Learn more about the accessibility issues, refer to:

https://brainly.com/question/17351493

#SPJ2

when doing a complex presentation which of the fallowing will be the best tool to begin designing your presentation

Answers

Answer:

Explanation:

The options are:

a) Open Office Writer

b) Open Office Impress

c) an outline

d) photographs

The most commonly used presentation software is Microsoft PowerPoint but it is not always available; as is the case here. Of the options, Open Office Impress is the closest in its functions to PowerPoint and is a good tool to design a complex presentation.

13. In cell B16, use the SUMIF function and structured references to display the total wins for teams in the Youth league.

Answers

Using the SUMIF function and structured references to display the total wins for teams in the Youth league is gotten as; 65

How to make use of the SUMIF Function?

The SUMIF function in excel combines a condition and a sum of the values which meets the stated condition. That is; SUMIF(row_range, condition)

From the attached image we can see the number of times youth won the league in column D. Also, we can see the total number of youth wins in column H under Total.

Thus, using SUMIF function for the total number of wins, we have;

B6 = SUMIF(SwimTeams[League], "youth",H3:H12

B6 = 21 + 16 + 12 + 9 + 7

B6 = 65

Read more about the SUMIF Function at; https://brainly.com/question/19595606

Why do you want to work for Rev?

Answers

People do have reasons why they want to work for a particular company. It may be due to what they company stands for, what they make or about your dream.

I can therefore say that I want to work for Rev because they are revolutionizing the industry and I want to be part of the change process.

How do you answer why do you want to work?

Note that when looking for a job, job experience do matter. When ask the reason for looking for this job.

One can answer that they have the experience or the needed expertise and skills required for this job as they want to be aligned with what the company stands for.

Learn more about work  from

https://brainly.com/question/25573309

When you are hired to develop a system for an organization. Is it important to follow all the requests/wants of the system owner rather than of the system user?

Answers

If you are hired to develop a system, note that Is it vital to follow all the requests or needs of the system's owner.

The company knows what they want and it is good you do comply with their directives. You can only give your suggestions if need be.

Who can develop an information system?

The information systems field is one that is made up of people in organizations that are skilled and can design and build information system.

Note that to be  hired to develop a system, one has to follow all the requests/wants of the system owner instead of the system user as the one who needs it knows what he or she wants so you have to comply with it. You can only give your suggestions.

Learn more about system from

https://brainly.com/question/13603602

Discussion 5
Kris Allen runs a pet daycare center. She needs to keep track of contact information for her customers, their animals, the services provided (such as walking and grooming), and the staff who are assigned to care for them. She also must send out invoices for payment each month. What features of spreadsheets and/or database software might she use to facilitate her business?

Answers

The features of spreadsheets and/or database software that she can use to facilitate her business are;

Rows and columns in spreadsheet's can make her information to be neatly organized.The use of Formulas and functions. Data filtering Accounting.Analytics, etc.

Why does business use database software?

Businesses can known to use database software to make a good and well manage data output. They also use it to work with their data.

Note that in almost all kinds of businesses, there is the use database software just to keep a track of contacts, addresses, payrolls and other  kind of functions to is linked to business and customers.

Learn more about database software  from

https://brainly.com/question/1022352

Onsite Services for Ruggedized Notebooks are limited to CRU parts and Service Assembly
Parts.

True

False

Answers

Onsite Services for Ruggedized Notebooks are limited to CRU parts and Service Assembly is a false statement.

What are Onsite Services?

In an On-Site Service, a Service Provider is one that carry out any kind of repair or exchange of a product at given location that is the location of the customer.

Onsite Services for Ruggedized Notebooks is not limited to CRU parts and Service Assembly as one can do any form of system repairs there most especially based on customer preference or what is wrong with the system.

Learn more about Onsite Services from

https://brainly.com/question/11218668

To use the replace feature we can simply just press Carl+h,Carl+c,Carl+r

Answers

In the Microsoft Word environment, as well as in most desktop publishing software, the shortcut key for using the Replace Feature is:

CTRL + H (Option A).

What is the use of the Replace Feature?

The replace feature is useful for when you have a large document and you need to replace one or more words with another quickly and easily.

Step 1:

Press the CTRL Button and hit the "H" alphabet on the keyboard. This will call up the "Find and Replace" dialogue box.

This will allow you to enter the word you want to find in the upper space and the words with which it will be replaced in the lower space.

Thereafter, select whether you want to replace them one by one or select "Replace All' to change all at once.

Learn more about Replace Feature at:

https://brainly.com/question/13185985

In C, What is the #line used for?

Answers

The #line is mainly used to reset the line number and also the filename in the code.

What does a line in C mean?

The c in code is written in lower-case. The c that has a line over it means "with".

The C preprocessor is known to be macro processor that is often used often by the C compiler to change one's program before actual compilation. This   #line means that one can do any reset any line of code to an arbitrary line number or a filename that is said to have been stated by the user.

Learn more about code from

https://brainly.com/question/25605883

You're a consultant for a large enterprise that needs a comprehensive IP addressing and DNS management solution for its physical and virtual networks. The enterprise has a primary office in Pittsburgh and three branch offices in Los Angeles, New York, and Miami. It has IT support staff only in the branch offices.The enterprise's server specialists are located in Pittsburgh. The IT directory in Pittsburgh wants to offload some of the IPAM management functions to some of the IT staff without giving them broader domain or forest administrative right. Which type of IPAM architecture do you recommend? Which features of IPAM are you likely to recommend using to address the requirements?

Answers

The type of IPAM architecture that I will recommend is the Centralized IPAM. The centralized IPAM server when deploy can help to address the issue.

What is IPAM?

IPAM (IP Address Management) is known to be a kind of administration of DNS and DHCP. This is known to be a network services that helps and handles IP addresses to machines in a TCP/IP network.

The Centralized Repository can help administrators to maintain or keep a good, correct and current records of all their IP assignments and left over addresses.

Learn more about IPAM from

https://brainly.com/question/24930846

Thirty percent of a magazine's subscribers are female. A random sample of 50 subscribers Answer the following questions using Excel: (using standart devision of 0.0648)
a. What is the probability that the proportion of females from this sample is at most 0.25
b. What is the probability that the proportion of females from this sample is between 0.22 and 0.28
c. What is the probability that the proportion of females from this sample is within 0.03 of the population proportion?

Answers

Based on the mean of the subscribers, the sample size, and the standard deviation, the probability of females being at most 0.25 is 0.2202.

The probability that they are between 0.22 and 0.28 is 0.2703.

The probability that they are within 0.03 of the population proportion is 0.3566.

What is the probability that they are at most 0.25?

Using Excel, we shall assume that the distribution is normally distributed.

We can therefore use the NORM.DIST function:


=NORM.DIST(0.25,0.3,0.0648,TRUE)

= 0.2202

What is the probability that they are between 0.22 and 0.28?

=NORM.DIST(0.28,0.3,0.0648,TRUE) - NORM.DIST(0.22,0.3,0.0648,TRUE)

= 0.2703

What is the probability that they are within 0.03 of the population proportion?

X high = 0.30 + 0.03

= 0.33

X low = 0.30 - 0.03

= 0.27

= NORM.DIST(0.33,0.3,0.0648,TRUE) - NORM.DIST(0.27,0.3,0.0648,TRUE)

= 0.3566.

Find out more on probability at https://brainly.com/question/1846009.

As a high school student, what do you think is the advantage of someone who has knowledge about the basics of internet compared to those who have not yet experienced using it?

Answers

Answer:

For your future in your career, you will definitely have an upper hand and will be able to access and use more tools.  But the person that has never used a computer before does not know what exactly they are missing.  When they try to use a computer, they will struggle with simple task that now come naturally to you.

Explanation:

Take any software or Application that you have recently purchased, this can be a video game or any other application helping you to complete you educational objectives or professional purposes. Go through about the copyright, license policies [you will find this information on the leaflet or on the packaging] and answer the following questions]
Can you make copies? What does the license agreement say about the number of copies you can make? Explain in detail [ 2Marks]
Does it specify penalties for making unauthorized copies if yes give the brief detail on that?
[1 Mark]
Do you consider the license agreement to be clearly stated? Reasonable? Explain with two reasons. [ 2 Marks]

Answers

A good product should have copyright protection which prevents others from using the product without permission.

Some products specify the penalties which are given to a person who makes unauthorized copies of their product and this is done to clearly educate to avoid ignorance claims.

A good product should have clear lettering which are legible and can be easily read, and should also have reasonable copyright protection.

What is Copyright?

This refers to the licensing which is done for a product and is also legally backed which prevents a person from illegally using or redistributing the work of a creator without their explicit consent.

Read more about copyright infringement here:
https://brainly.com/question/1078532

Other Questions
| negative 9 | + | 12 | = what a. negative 3 b. 3 c.negative 21 d.21pleaz help might make brainliest please help i will give brainliestexplain what a budget is, how to make one, and how to balance it? I really need Help if u give right answer u get brainliest Make one sentence from two, using relative clauses or relative pronouns 1. my friend fell down in the stairs. he is admitted in the medical centre. put the words in the right :1. about old very strong he but he years looked seventy was2. thin cried biddy so pale and someone was because By titration, 13.5 mL of aqueous H2SO4 neutralized 21.8 mL of 0.0419 M LiOH solution. What was the molarity of the aqueous acid solution? Ramsey's hamster weighs less than his gerbil. His gerbil weighs 2.04 ounces. Which of thefollowing could be the weight of Ramsey's hamster?O A. 1.99 ouncesO B. 2.3 ouncesOC. 2.14 ouncesO D. 2.102 ounces6 1. Which quotation provides the best evidence that most people were not familiar with automobiles in1903? (7Di-Q48) The average daily rainfall in Seattle for the month of June has a mean absolute deviation of 1.3 inches. What conclusion can you make about the average daily rainfall in Seattle for the month of June? What does it mean that our solar system is about 25,000 light-years from the center of the Milky Way?(1 point) It took our solar system 25,000 light-years to form. It took our solar system 25,000 light-years to form. It would take about 25,000 years for light to travel from our solar system to the center of the Milky Way. It would take about 25,000 years for light to travel from our solar system to the center of the Milky Way. There are 25,000 stars between our solar system and the center of the Milky Way. There are 25,000 stars between our solar system and the center of the Milky Way. It would take 25,000 years for humans to fly, using a rocket ship, from our solar system to the center of the Milky Way. Compare the foreign policies of Barack Obama and George W. Bush.The phrases below show either Barack Obama's or George W. Bush's foreign policies.1. He vowed to defeat all terrorist groups.2. He started Operation Enduring Freedom.3. He formed the Counter-ISIL Coalition.4. He reduced troops in Iraq.5. He sent first troops to Afghanistan.A. ObamaB. Bush The life spans of a computer manufacturers hard drives are normally distributed, with a mean of 3 years 6 months and a standard deviation of 9 months. what is the probability of a randomly selected hard drive from the company lasting between 2 years 3 months and 3 years 3 months? use the portion of the standard normal table below to help answer the question. z probability 0.00 0.5000 0.23 0.5910 0.33 0.6293 0.67 0.7486 1.00 0.8413 1.33 0.9082 1.67 0.9525 2.00 0.9772 32% 37% 42% 95% what music form has a pattern that appears as A-B-A-C-A or A-B-A-C-A-B-A Microorganisms that are removed by mucus are destroyed by the. Which expression is equivalent to -18x -14? The institution (group) that had the most power during the Middle Ages was the _______ ______.? In which state would you find the geographical center of north america? north dakota. Whats your favorite genre(s) of music? how many boxes of enelopes can you buy with $12 if one box cost $3? Which mental characteristic develops over the course of adolescence?O weaker decision-makingO stronger impulsesO improved reasoning skillsO reduced memory skills Which headline would be an example of gene therapy?Farmer Brown's Pigs Have Less Saturated FatPet Fish Glow under Ultraviolet LightGene Added to Bone Marrow Improves Immune System FunctionPrize Winning Orchid Is a Hybrid