problemset3altered

problemset3altered - 9/17/07 Problem Set 3 Problem Problem...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

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

Unformatted text preview: 9/17/07 Problem Set 3 Problem Problem Statement: Name the five steps in the program development process Solution: Problem analysis and specification Data organization and algorithm design Program coding Execution and testing Program maintenance Problem Statement: The grammatical rules of a language are called its Solution: Assembly Language Problem Statement: What are the three types of errors that can occur in developing a program? Solution: Run-Time, logic, syntax 9/17/07 Problem Set 3 Problem Problem Statement Program to add two real numbers. Variables used are: X, Y : the two real numbers Sum : the sum of X and Y FORTRAN Code PROGRAM Arithmetic IMPLICIT NONE REAL :: X, Y, Sum X = 1.234 Y = 5.5 Sum = X + Y Print *, "Sum of", X, "and", Y, "is", Sum END PROGRAM Arithmetic Output ./a.out Sum of 1.234000 and 5.500000 is 6.734000 Solution Check 9/17/07 Problem Set 3 Problem Problem Statement Write/compile/run a FORTRAN program that computes ....
View Full Document

This note was uploaded on 04/06/2008 for the course AER E 160 taught by Professor Haugli during the Fall '07 term at Iowa State.

Page1 / 8

problemset3altered - 9/17/07 Problem Set 3 Problem Problem...

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

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