Chap 2 Questions

# Chap 2 Questions - F. Subtract A S= F(inal) G. Print F H....

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

Paul Robison CSC 160 1.[a] A. Set values of b (base) and h (hight) B. multiply b x b= b^2 C. multiply a x a= a^2 D. multiply b^2 x a^2= c^2 E. divide c^2 / 2 F. print quotient G. Stop [b] A. Set values of B and I B. Divide I / 100= i C. Multiply B x i= E(arned) D. Multiply E x 1= e E. Print e F. Stop [c] A. Set values for M and S(peed) B. Divide M / S= T(ime) C. Print T D. Stop 2. A. Set values of B, I, and S B. Divide I / 100= i C. Multiply B x i= E(arned) D. Multiply E x 1= e E. Multiply e (1+i/1)= A(ccumulation)

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: F. Subtract A S= F(inal) G. Print F H. Stop 4. A. Set values of A and Q(uantity) B. Multiply A x Q= P(rice) C. Multiply P x .016= T(otal) D. Print P E. Print T F. Stop 6. A. Set values of B, I, and S B. Divide I / 100= i C. Multiply B x i= E(arned) D. Multiply E x 1= e E. Multiply e (1+i/1)= A(ccumulation) F. If A &lt; 1000, a. Subtract A S= a b. Print a c. Stop G. If A 1000, a. Print A b. Stop...
View Full Document

## This note was uploaded on 04/29/2008 for the course REL 100 taught by Professor Depends during the Spring '08 term at Augsburg.

### Page1 / 2

Chap 2 Questions - F. Subtract A S= F(inal) G. Print F H....

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

View Full Document
Ask a homework question - tutors are online