I\'m very lost for this assignment and don\'t know where tobegin. Somebody plz h
ID: 3617279 • Letter: I
Question
I'm very lost for this assignment and don't know where tobegin. Somebody plz help me with this:Assignment: You will write a simple program that reads in datavalues supplied by the user and finds the largest and smallestnumbers in the data set. The program will then write out thevalues, with the word LARGEST printed by the largest value and theword SMALLEST printed by the smallest value in the data set.
Program Requirements:
Declare a real array with 10 elements to hold the data setvalues
Ask the user for the number of values to be input
If the user tries to input more than 10 values the program musttell the user and then ask for the number of input valuesagain.
The program must employ two functions, one to find the smallestvalue and one to find the largest value
The user input values must be written to the screen and have theappropriate label if applicable.
All program output must be formatted and user input must beformatted if appropriate.
I'm using Force... you can download it here: http://www.lepsch.com/downloads/Force209GFortranSetup.exe For it to work you have to change the compiler optionsto: -g -ffree-form -std=f95 thank you so much for helping me out !
I'm very lost for this assignment and don't know where tobegin. Somebody plz help me with this:
Assignment: You will write a simple program that reads in datavalues supplied by the user and finds the largest and smallestnumbers in the data set. The program will then write out thevalues, with the word LARGEST printed by the largest value and theword SMALLEST printed by the smallest value in the data set.
Program Requirements:
Declare a real array with 10 elements to hold the data setvalues
Ask the user for the number of values to be input
If the user tries to input more than 10 values the program musttell the user and then ask for the number of input valuesagain.
The program must employ two functions, one to find the smallestvalue and one to find the largest value
The user input values must be written to the screen and have theappropriate label if applicable.
All program output must be formatted and user input must beformatted if appropriate.
I'm using Force... you can download it here: http://www.lepsch.com/downloads/Force209GFortranSetup.exe For it to work you have to change the compiler optionsto: -g -ffree-form -std=f95 thank you so much for helping me out !
I'm using Force... you can download it here: http://www.lepsch.com/downloads/Force209GFortranSetup.exe For it to work you have to change the compiler optionsto: -g -ffree-form -std=f95 thank you so much for helping me out !