This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
[Program]: Write a Julia program to find average of numbers by recursion #3506
Labels
closed
closed issues/PRs
good first issue
Good for newcomers
help wanted
Extra attention is needed
Julia
julia related
program
Description
Write a Julia program to find average of numbers by recursion
Average of numbers is the sum of all numbers divided by the number of numbers. For example, the average of 1, 2, 3, 4, 5 is 3. The average of 1, 2, 3, 4, 5, 6 is 3.5.
Average of numbers can be calculated by recursion. The average of numbers is the sum of the first number and the average of the rest of the numbers. The average of the rest of the numbers is the sum of the second number and the average of the rest of the numbers. The average of the rest of the numbers is the sum of the third number and the average of the rest of the numbers. And so on.
How to contribute
program/program/find-average-of-numbers-by-recursion/program/find-average-of-numbers-by-recursion.jl
fileThe text was updated successfully, but these errors were encountered: