answersLogoWhite

0


Best Answer

#include <iostream>02using namespace std;

03

04int main()

05{

06 int sum = 0;

07 int average = 0;

08 int array[10] = {1,2,3,4,5,6,7,8,9,10};

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

10 sum+=array[i];

11 average = sum/10;

12 cout<<"Average:"<<average;

13}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Pseudocode representation to determine the average of three numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Develop an algorithm to display all prime numbers from 2 to 100 Give both the pseudocode version and the flowchart version Convert your pseudocode into a Java program?

Develop an algorithm to display all prime numbers from 2 to 100. Give both the pseudocode version and the flowchart version. Convert your pseudocode into a Java program.


What is the average of 46?

At least two numbers are required to determine an average.


What is the average of 74?

At least two numbers are required to determine an average.


How do you determine average daily temperature?

you determine the average of something by adding up all the numbers, then dividing the end result by how many numbers you added together.


Is the average function is a mathematical function?

It is a statistical function specifically, finding a number that is a good representation of a set of numbers.


What is 4.2 85.37?

It is the decimal representation of two numbers.It is the decimal representation of two numbers.It is the decimal representation of two numbers.It is the decimal representation of two numbers.


Write a pseudocode statement that declares the variable cost so it can hold real numbers?

floating-point variable cost


Pseudocode for subtraction of two binary numbers?

start read a read b c=a-b print c end


What is representation of numbers in the form of numbers called?

Standard form


What is the average of 48 and 67?

Normally, at least two numbers are used to determine an average. If there is only one number, then the average is the number itself, so the answer is 48.


Another name for graph a picture representation of numbers?

Another name for a graph that is a representation of numbers is a chart. The chart makes the numbers easy to understand upon a glance.&Ecirc;


What is the upper bound of 13?

At least two numbers are required to determine an average.