2021 | OriginalPaper | Chapter
Arrays
Author : Noel Kalicharan
Published in: Julia - Bit by Bit
Publisher: Springer International Publishing
In this chapter, we will explain the following: The difference between simple variable and array variable How to declare and store values in an array How to process elements of an array using a for loop How to the calculate average and differences from average of a set of numbers How to read the entire contents of a file as a String How to write a Letter Frequency program How to test if a file exists How an array is passed as an argument to a function How to find the sum, average of numbers stored in an array How to use an array to keep several counts How to pass an array as an argument to a function How to find the largest and smallest values in an array How to write a program to process the results of an election