Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Can you please write these program in FORTRAN (must) language and explain it? [8] 1. Create and save these four text files containing the data
Can you please write these program in FORTRAN (must) language and explain it? [8] 1. Create and save these four text files containing the data as exactly as follows: InputFile_1.txt Input File_2.txt File Edit Format View Help file_1.- Notepad File Edit Format View Help 6 a b c d e f 1-1 2 3 -4 5 -6 Input File_3.txt Input File_4.txt File Edit Format View Help 6 file_1.TXT - Notepad File Edit Format View Help -1.0 2.5 3.1 -1.0 2.5 3.1 4.77 5.0 16.2 4.77 5.0 16.2 Write a program to read these data and store them in suitable one dimensional arrays where the length of the array is the first value in the file. Then print all the data in a single output file as exactly as they were. [12] 2. Write a code to read your full name from a file and then print it! (i) without spaces, (ii) without the vowels, (iii) in capital (upper case) letters, (iv) in reverse order. 18 3. Write a code using loop to create 20 text files named File_N.txt' containing the line "This is file number N'where N = 01, 02, ..., 20. [8] 1. Create and save these four text files containing the data as exactly as follows: InputFile_1.txt Input File_2.txt File Edit Format View Help file_1.- Notepad File Edit Format View Help 6 a b c d e f 1-1 2 3 -4 5 -6 Input File_3.txt Input File_4.txt File Edit Format View Help 6 file_1.TXT - Notepad File Edit Format View Help -1.0 2.5 3.1 -1.0 2.5 3.1 4.77 5.0 16.2 4.77 5.0 16.2 Write a program to read these data and store them in suitable one dimensional arrays where the length of the array is the first value in the file. Then print all the data in a single output file as exactly as they were. [12] 2. Write a code to read your full name from a file and then print it! (i) without spaces, (ii) without the vowels, (iii) in capital (upper case) letters, (iv) in reverse order. 18 3. Write a code using loop to create 20 text files named File_N.txt' containing the line "This is file number N'where N = 01, 02, ..., 20
Can you please write these program in FORTRAN (must) language and explain it?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started