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

A pole vaulter rested a 17 foot pole against a wall. If the top of the pole hit the wall 14 feet above the ground, how far from the wall is the bottom of the po
This is a khan questions please answer fast!
Name the helping verb in the following sentence: I should go to the doctor tomorrow. Α. I B. should C. go D. tomorrow
Quel traitement pallas athéna fait - elle d’abord subir à Arachné?
Which famous inventor and artist wrote the world’s first resume?
Help please this is for math
explain the application software and utility software in detail​
Help and show your work
how wide was the asteroid that killed the dinosaurs
Article 1: How Lift-Offs Lift Our Spirits, by Miranda Sharon America’s space program does not get the attention it once did. It certainly doesn’t generate the s