File size: 1,365 Bytes
edde496
9d00f87
edde496
fbfeb8d
 
edde496
 
 
 
fbfeb8d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: ' Average Value Calculator '
emoji: 🏢
colorFrom: indigo
colorTo: gray
sdk: static
pinned: false
---

# 🧮 Dynamic Average Calculator

This is a smart calculator that finds the arithmetic mean (average) of a set of numbers. It features a dynamic interface that expands as you enter more data.

## ✨ Key Features

-   **Dynamic Inputs**: The calculator starts with four input fields. When you fill the last two available fields, two new ones automatically appear.
-   **High Capacity**: Supports up to 40 numbers for a comprehensive average calculation.
-   **Clean & Responsive**: A simple, clean interface that works well on both desktop and mobile devices.

## 🚀 How to Use

1.  **Enter Numbers**: Begin by entering your numbers into the four initial fields.
2.  **Keep Going**: As you fill the last available inputs, more fields will be added automatically in pairs.
3.  **Calculate**: Once you have entered all your numbers, click the **"Calculate Average"** button.
4.  **View Result**: The average of all the numbers you entered will be displayed at the bottom.

## 🧮 Formula Used

The calculator uses the standard formula for the arithmetic mean:

$$
\text{Average} = \frac{\text{Sum of all numbers}}{\text{Count of numbers}}
$$

This app is built purely with **HTML**, **CSS**, and **JavaScript** and is hosted on Hugging Face Spaces.