FORTRANHW4 - Aero 3970: Applications of Fortran Homework...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Aero 3970: Applications of Fortran Homework Assignment #4 Due: Monday April 25, 12:00 PM Syntax Questions Multiple Choice 1. The // operator a. combines two character strings into one b. allows Fortran to access the internet c. skips two lines d. keeps the cursor on the same line as the prompt 2. The command int( ) a. integrates the function in parentheses b. tells the user the correct interstate to take c. takes the integer value of the quantity in parentheses d. determines if the program is interesting or not True/False 3. Compile errors are shown in the bottom of the window when you run a program and indicate a problem with syntax. 4. Runtime errors occur when your program successfully compiles and starts to run, but for some reason the run doesn’t finish or it does finish but with the wrong answer. 5. Each “read” command skips to the next line. Program Assignment Write a program that reads in the file hw4data.txt. This file, which can be found on the class website, contains two rows of headings before the data begins. Write a
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/21/2011 for the course AERO 3970 taught by Professor Doucette during the Spring '11 term at Auburn University.

Page1 / 2

FORTRANHW4 - Aero 3970: Applications of Fortran Homework...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online