aboutsummaryrefslogtreecommitdiff
path: root/num1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'num1.cpp')
-rw-r--r--num1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/num1.cpp b/num1.cpp
index 48c19aa..90d8664 100644
--- a/num1.cpp
+++ b/num1.cpp
@@ -11,6 +11,7 @@ void findMedian(float arr[], int);
float GetValues (float values[]);
#define MAX 20
+
int main ()
{
int num_values;
@@ -46,6 +47,7 @@ float GetValues (float values[])
return num_values;
}
+
void findMedian(float arr[], int num_val)
{
float x;