diff --git a/Java/Basic/Average.java b/Java/Basic/Average.java new file mode 100644 index 0000000..9134c2a --- /dev/null +++ b/Java/Basic/Average.java @@ -0,0 +1,16 @@ +import java.util.*; +import java.lang.*; +import java.io.*; + +class Main +{ + public static void main( String[] args ) { + int sum = 0; + int[] data = { 1, 2, 3, 4, 5}; + for( int i=0; i