colinpvinu colinpvinu
  • 12-06-2020
  • Mathematics
contestada

Write the sum of first n natural numbers.​

Respuesta :

UncannyDani
UncannyDani UncannyDani
  • 12-06-2020

The sum of the first n natural number = n * (n+1) / 2, for n a natural number.

For example, you want to calculate the sum and average of any five numbers entered by the user. i.e., If you want to calculate the sum and average or percentage of multiple user-entered numbers, then please refer to the following program.

Answer Link

Otras preguntas

In poetry, what do "narrative," "epic," and "dramatic" describe?
which materials are typically used as thermal insulators
Which day does “next Tuesday” refer to?
The atmosphere that we depend on for our survival is enriched by numerous cyanobacteria. This fact justifies which characteristic of cyanobacteria
Which of the following opened in October of 1990, allowing East and West Germany to be united, effectivily ending Communism in Germany? A) Iron Curtain B) Red B
Which career combines DNA technology and medicine
what is the molar mass of a substance
explain the steps it would take to farm each year in mesopotamia
find the range ,mean,variance and stardard deviation 12,9,,7,5,7,8,10,4,11,6
describe at least one reason for limiting each of the following in a well balanced diet saturated fat, cholesterol and sodium