Discussion in 'Programmer's Corner' started by vickyhomo, Apr 6, 2015.
I wanna know how to write array type programme
We're going to need a heck of a lot more information than that!
Do you have any experience with Fortran at all?
FORTRAN was my first programming language (ca. 1962)
The Google is a pretty good source for information.
It gives results like this.
Any more of a specific response requires a more specific question.
Wow FORTRAN 90! A far cry from FORTRAN II and the IBM 7090.
From which I take it that he's not saying FORTRAN will make you rich beyond your wildest dreams.
"I'm now a retired senior citizen on a fixed income."
was a family in-joke among my father-in-law's wealthy siblings, who all came from dirt poor beginnings in the aftermath of the great depression, and ended up multi-millionaires. Let's just say I'm engaging in hyperbole for effect.
Do you mean a program that uses an array as a data structure?
Could you be more specific?
yes.i could use :do,mod,if statement,select case nd goto.but have no knowledge of arrays
Define your goal.
Draw a flow chart.
An array is a collection of data elements all of which have the same type. For example an array of integers, or an array of floating point numbers. There are no arrays that have a mixture of data types. An array has a size which defines the number of elements. For example an array of ten integers would have a size of 10. The elements in the array are ordered. That is to say there is a first element and a last element. In between the first and last elements each element has a predecessor and a successor. Elements in an array have an index which can range from 1 to the size of the array. In some languages the index can range from zero to (size - 1). some language allow arbitrary index ranges, for example -5 to +5.
That should get you started.