{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

problemset3altered

# problemset3altered - Problem Set 3 Problem Problem...

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

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

View Full Document

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

View Full Document
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

{[ snackBarMessage ]}

### Page1 / 8

problemset3altered - Problem Set 3 Problem Problem...

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

View Full Document
Ask a homework question - tutors are online