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
quester [9]
3 years ago
14

The statement cout << sales[0,3] + sales[1,3]; will __________. Use the following array named sales to answer this questio

n. 10000 12000 900 500 20000 350 600 700 800 1001. display 1300
2. display 1600
3. display sales [0,3] + sales[1,3]
4. result in an error
Computers and Technology
1 answer:
neonofarm [45]3 years ago
8 0

Answer:

result in an error.

Explanation:

The statement cout << sales[0,3] + sales[1,3]; corresponds to a syntax error.

In order to refer to a certain element in a double dimension array in C++, the correct syntax should be :

cout<<a[0][3]+a[1][3];

You might be interested in
A _______ is used to analyze and summarize your data without graphical support
kkurt [141]
<span>A Pivot table is used to analyze and summarize your data without graphical support</span>
3 0
4 years ago
Read 2 more answers
Create a script that asks for the student's percentage point through a prompt box. Using the following scenarios write if else s
Valentin [98]

Answer:

<h2>Following are the java script code for the above question. </h2>

Explanation:

Program :

var percentage= prompt("Enter the percentage of the student"); // take the input from the user.

if(percentage>=90)//check condition for greator than 90.

alert("your grade is \"A\"");

else if(percentage>=80) // check condition for 80 and 89.

alert("your grade is \"B\"");

else if(percentage>=70) // check condition for 70 and 79.

alert("your grade is \"C\"");

else if(percentage>=60) // check condition for 60 and 69.

alert("your grade is \"D\"");

else // check condition for less than 60.

alert("your grade is \"F\"");

Output:

  • If the user input 60, it will prints D.
  • If the user inputs 59, it will prints f.

Code Explanation:

  • The above code is in a javascript language, In which the first line is used to display the message and take the input from the user in the alert box.
  • Then the percentage is checked by the help of in if, else if and else statement and print the grade.
  • Then the grade is printed with the help of an alert box.
5 0
3 years ago
You wish to use your personal laptop computer at work, but the it department folks will not allow this. the likely reason is tha
Kruka [31]

Answer: Your non-work related use of a laptop could increase vulnerability.

Explanation: Vulnerability is one of the most important and stressed out section in IT, so it's best to decrease that possibility whenever!

I hope this helps!

3 0
2 years ago
What is the technological singularity and what are the dangers it brings to man
professor190 [17]
The definition according to google and the dictionary of technological singularity is the following : The technological singularity (also, simply, the singularity) is the hypothesis that the invention of artificial superintelligence will abruptly trigger runaway technological growth, resulting in unfathomable changes to human civilization.

The dangers this brings to man kind is the fact that people will turn out to not be people or there may be a different species considered as humans or human kind .Also we were made as humans from something else artificial super intelligence will basically be forming from us which means it will be forming from something that was already mean basically meaning there will be something changed within the species or artificial super intelligence itself.
3 0
3 years ago
PLEASE HELP LAST QUESTION: Which of the following tags is used to anchor a link (options are anchor, link, id, none of the answe
Ahat [919]
None of the above and this has to be 20 characters so yea
7 0
3 years ago
Other questions:
  • The network ____, the person overseeing network operations, uses a server operating system to add and remove users, computers, a
    15·1 answer
  • Compute the sum of all integers that are multiples of 9, from 1 to 250. Enter your result of your computation in the text box be
    9·2 answers
  • Write the function lettersOnly(s) that takes in a string called s, and returns a string containing only the alphabetic character
    8·1 answer
  • - The concept of communication competence suggests there is no single "ideal" or "effective" way to communicate in every situati
    6·2 answers
  • Answer ASAP and I'll give brainliest.
    10·2 answers
  • Assume that passwords are selected from four-character combinations of 26 alphabeticcharacters. Assume that an adversary is able
    11·1 answer
  • Where can i make an animation for free?
    10·1 answer
  • Which of the following is one aspect of gaming that goes relatively unnoticed but
    10·1 answer
  • Why do you need to learn about engineering and technology.
    13·2 answers
  • Data will zip through a 5G network much faster than through a 4G network because of the 10-fold difference in _____.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!