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
Katyanochek1 [597]
3 years ago
15

To complete this quest, answer the following questions in the submission box below. Make x an array going from 0 to 100 by steps

of 2 units. (Array indexing) Make y an array going from 0 to 50 by steps of 1 unit. (Array indexing) Make z an array that is equal to [x1y1, x2y2, ..., xnyn]. (Arithmetic operations) Find the first 5 values of the z array. (Array indexing)
Computers and Technology
1 answer:
Law Incorporation [45]3 years ago
5 0

Answer:

C++.

Explanation:

#include <iostream.h>

void main(int argc,char* arg[])  {

   // Arrays

   int x[100];

   int y[50];

   int z[50];

////////////////////////////////////////////////////////////////////////////

   int count = 0;

   for (int i = 0; i < 100; i+=2) {

       z[count] = x[i] * y[count];

       count++;

   }

for (int i =0; i < 5; i++) {

   cout<<z[i]<<endl;

}

getche();

}

You might be interested in
What is the difference between (IF instructions &amp; WHILE instructions )<br> 0<br> 를 들<br> T<br> !
lara31 [8.8K]

Answer:

While statements determine whether a statement is true or false. If what’s stated is true, then the program runs the statement and returns to the first step. If what’s stated is false, the program exits the while and goes to the next statement. An added step to while statements is turning them into continuous loops. If you don’t change the value so that the condition is never false, the while statement becomes an infinite loop.

If statements are the simplest form of conditional statements, statements that allow us to check conditions and change behavior/output accordingly. The part of the statement following the if is called the condition. If the condition is true, the instruction in the statement runs. If the condition is not true, it does not. The if statements are also compound statements. They have a header (if x) followed by an indented statement (an instruction to be followed is x is true). There is no limit to the number of these indented statements, but there must be at least one.

7 0
3 years ago
Local area networks use many of the same network technologies and the Internet, only on a smaller scale. Devices that access LAN
enot [183]

Answer:

Fill in the gaps accordingly in the order below.

Explanation:

-Controller

-Media Access Control

-Ethernet

- WiFi

-Mesh

-Password

-SSID

-Encryption

-Guest

-DHCP

-Key

-Low

5 0
3 years ago
You are choosing between two different window washing companies. The first charges $5 per window. The second charges a base fee
tatiyna

Answer:

20

Explanation:

8 0
2 years ago
Please Help ASAP. Marking Brainliest For Correct Answer.
mezya [45]

Answer: It is not working because it is missing the code needed to turn right.

Sentence :The robot would move forward two squares and would stay stuck there because it can not move forward nor turn left. You would need to add code for the robot to be able to turn right so that the robot can reach the goal

6 0
3 years ago
Choose the word that best completes this sentence. Caught-in and caught-between injuries result from a person being squeezed, ca
salantis [7]
Two adjacent
Two parallel
3 0
4 years ago
Read 2 more answers
Other questions:
  • Which spreadsheet operation does a look function perform?
    5·1 answer
  • Ou have an application running on Oracle Cloud Infrastructure. You identified that the read and write operations are slowing you
    10·1 answer
  • What is the most common drive letter where window stores most data and programs. 1,a 2,b 3,c 4,e
    9·1 answer
  • Citing the recent increase in earnings by several computer companies, economists feel that a cycle has begun in which personal c
    13·1 answer
  • 50 pts. please help ! Explain briefly the role, responsibilities, and required background of the production designer of a film.
    12·1 answer
  • PHP is based on C rather than ______.
    5·1 answer
  • Consider the scenario below. Will the solution attempted by the technician fix the problem or make it worse? Defend your answer.
    5·1 answer
  • When should you use an ELIF statement?<br> Edhesive
    15·1 answer
  • Modern life is not possible if computer stops working? Give your opinion<br>​
    7·1 answer
  • Hi this is for computer and technology experts out there but can someone tell me why my dell computer charger wont work please h
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!