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
chubhunter [2.5K]
3 years ago
12

Int value[10] = {1, -7, 95, 123, 80, 67, -30, 17, 152, 121} ;

Computers and Technology
1 answer:
Lorico [155]3 years ago
8 0

Answer:

<u>for loop code:</u>

int total=0;

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

{

total + = value[i];

}

Explanation:

By declaration we know that the array is of size 10 which means the index will start from 0.

The variable name to be used to store the sum is given as total

We will initialize total with zero so that no garbage value is used.

For loop will be used to access the elements of array and calculate the sum. The syntax of for loop is given as:

for (initialization; condition; increment/decrement)

   {statement}

<u>Code:</u>

int total=0;

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

{

total + = value[i];

}

You might be interested in
If a business industry does not meet OSHA standards
soldi70 [24.7K]

Explanation:

USE SOCRACTIC IT WOULD REALLY HELP

7 0
4 years ago
Read 2 more answers
_____ allows a function or operator to perform different tasks depending on the types of the arguments or operands. Group of ans
xenn [34]

Polymorphism allows a function or operator to perform different tasks depending on the types of the arguments or operands.

<h3>What does polymorphism helps?</h3>

Polymorphism is known to be that which helps its users to be able to carry out one action in a lot of ways that is many forms.

Note that Polymorphism allows a function or operator to perform different tasks depending on the types of the arguments or operands and thus makes one to work faster.

Learn more about Polymorphism from

brainly.com/question/20317264

#SJ1

5 0
2 years ago
What file format is best to give a printer when working with Adobe InDesign?
qwelly [4]

Answer:

TIFF

Explanation:

GIFs are animated image files, and printers can't print animations

TIFFs are basically image files

HTML is a coding file, you were to print it, it would print the HTML text of the image

IDML is an XML representation of an InDesign document or components, if you were to print it, its outcome would be basically the same as printing an HTML file.

7 0
3 years ago
How many bits are in the host portion of the address 192.168.150.19/23?
Alecsey [184]
23 bits are the network mask, so 32 - 23 bits are the node number.
3 0
3 years ago
Write a method to add/subtract two matrices. The header of the method is as follows:
Sergio [31]

Answer: A

Explanation:

3 0
2 years ago
Other questions:
  • "how has user access of the web changed over the past 10 years? how does this impact the design of a website?"
    6·1 answer
  • Which software application should be used to communicate in writing about an upcoming event?
    12·2 answers
  • If the task is to write firewall specifications for the preparation of a(n) ____, the planner would note that the deliverable is
    14·1 answer
  • Technologies that function within the established system are called
    12·1 answer
  • Technician A says that oil for the rod bearings comes from splash off the crankshaft. Technician B says that lubrication to the
    14·1 answer
  • Write a Python program that accepts a year written as a four-digit Arabic (ordinary) numeral and outputs the year written in Rom
    8·1 answer
  • ______allow you to select elements that are in a certain state, such as when the mouse if hovering over an element
    14·1 answer
  • How many basic elements of QBASIC are there
    14·1 answer
  • Why does my wifi keep disconnecting and reconnecting?
    9·1 answer
  • How can I master the computer organization ​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!