answersLogoWhite

0


Best Answer

main()

{

sum=0;

float avg=0.0;

int sqr[10];

for(i=1;i<=10;i++)

{

sqr[i]=(i*i);

}

for(i=1;i<=10;i++)

{

sum=sum+sqr[i];

}

avg=sum/10;

dts it !!!

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program to compute the average of the squares of the numbers from 1 to 10?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write algorithm compute sum of square of N numbers?

1. Design an algorithm to compute sum of the squares of n numbers?


Write a C Program to print sum of squares of odd numbers?

#include


What does least squares mean?

Compute to the smallest fraction, reduce to the least number


The sum of 5 numbers is 28 and the sum of their squares is 226 what is the average?

If the sum of 5 = 28 then the average is 28 / 5 = 5.6 If the sum of the squares = 226 then the average is 226 / 5 = 45.2 From this information, and by a process of elimination, the numbers might be 1, 2, 6, 8 and 11.


What is the next number in the sequence 25 36 49 64?

81. They are the perfect squares of numbers starting from 5.81. They are the perfect squares of numbers starting from 5.81. They are the perfect squares of numbers starting from 5.81. They are the perfect squares of numbers starting from 5.


Which numbers are NOT perfect squares?

In the complex field, every number is a square so there are no numbers that are not squares. If the domain is reduced to that of real numbers, any negative number is not a square. However, the term "square numbers" (not number's!) is often used to refer to perfect square numbers. These are numbers that are squares of integers. Therefore the squares of fractions or Irrational Numbers are non-squares.


Are no perfect squares whole numbers?

By definition, ALL perfect squares are whole numbers!


Perfect squares?

Natural numbers which are the scales of some natural numbers are perfect squares


How are perfect squares and irrational squares same?

No. Perfect squares as the squares of the integers, whereas irrational squares as the squares of irrational numbers, but some irrational numbers squared are whole numbers, eg &radic;2 (an irrational number) squared is a whole number.


Numbers that have an odd number of factors are what?

perfect squares


What are numbers that have an odd amount of factors called?

perfect squares also known as square numbers taytay


Which numbers are not square number's?

In the complex field, every number is a square so there are no numbers that are not squares. If the domain is reduced to that of real numbers, any negative number is not a square. However, the term "square numbers" (not number's!) is often used to refer to perfect square numbers. These are numbers that are squares of integers. Therefore the squares of fractions or irrational numbers are non-squares.