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
riadik2000 [5.3K]
4 years ago
14

Write an algorithm to find the average of six numbers​

Computers and Technology
1 answer:
slavikrds [6]4 years ago
7 0

Answer:

Input: two numbers x and y Output: the average of x and y Step 1 : input x,y Step 2: sum=0,average=0 Step 3:sum = x + y Step 4:average = sum /2 Step 5: print average.

Explanation:

Input: two numbers x and y Output: the average of x and y Step 1 : input x,y Step 2: sum=0,average=0 Step 3:sum = x + y Step 4:average = sum /2 Step 5: print average.

You might be interested in
Which type of software is primarily used to organize a collection of information for easy access?
lukranit [14]

Answer:

option B database management software

mark as brainliest answer

8 0
4 years ago
What is the output of the following code?
Lynna [10]

Answer:

The output is 24

Explanation:

Given

The above code segment

Required

The output

We have (on the first line):

x = 6

y = 3

z=24

result=0

On the second line:

result = 2*((z/(x-y))\%y+10)

Substitute the value of each variable

result = 2*((24/(6-3))\%3+10)

Solve the inner brackets

result = 2*((24/3)\%3+10)

result = 2*(8\%3+10)

8%3 implies that, the remainder when 8 is divided by 3.

The remainder is 2

So:

result = 2*(2+10)

result = 2*12

result = 24

<em>Hence, the output is 24</em>

8 0
3 years ago
In a social networking site your personal information is listed under your?
abruzzese [7]
Profile? Perhaps... If you go on social media sites like Facebook it's typically on your profile, right?
3 0
4 years ago
Read 2 more answers
Which of the following is an example of a logic error?
rusak2 [61]

Answer:

Receiving unexpected results from a program

Explanation:

Logic errors are due to the program not producing a desired result.

6 0
3 years ago
Read 2 more answers
Hayden If you are on that really was not cool dont tell other people to break up with me I want to run away should I
mojhsa [17]

Answer: Yeah.

Explanation: Dude not funny.

5 0
3 years ago
Other questions:
  • Why is Copyright important?
    5·1 answer
  • A document that promises to pay specified sums of money on specified dates and is a debt to the issuer is called
    14·1 answer
  • What are some of the causes for error 1921 when updating?
    11·2 answers
  • Dustin is editing a SmartArt graphic. He wants all three shapes to be different colors.
    13·1 answer
  • Selet the correct answer.
    11·2 answers
  • Write a function that takes an integer value and returns the number with its digits reversed. for example, given the number 7631
    10·1 answer
  • When you complete a form online with your name, address, and credit card information in order to make a purchase, you are giving
    8·1 answer
  • What is the biggest problem with technology today?
    10·1 answer
  • How to make a business plan​
    14·1 answer
  • Suggest 4 new features for microsoft word/excel.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!