Question: Need written in Fortran90 language, thanks! Question 3 3.1 Write a Fortran program to count how many of a set of ten integers typed in

 Need written in Fortran90 language, thanks! Question 3 3.1 Write a

Need written in Fortran90 language, thanks!

Question 3 3.1 Write a Fortran program to count how many of a set of ten integers typed in at the keyboard are multiples of five Ignore any negative numbers. Test it using the following sets of numbers: 39 3 52 12 65 2 15 5 73 53 92 60 13 2 69 93 76 56 The easiest way to do this needs arrays, which are covered in the chapter 08 To declare an integer array of length 10, use the statement: INTEGER array (10) If you read the data into the whole of an array you can put all the numbers on one line; to do this, use the statement: READ *, array The elements are numbered from 1 upwards; to access element N, use the expression: array (N)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!