Pseudocode Assignment

# Pseudocode Assignment - TanishaBillups 1 a i Getvalueofbase...

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

Tanisha Billups 2/1/08 Pseudocode Assignment 1. Pseudocode instructions a. Determine the area of a triangle i. Get value of base ii. Get value of height iii. Set value of multiply to ½ iv. Set value of area to multiply x base x height (mxbxh) v. Print message “ The area of the triangle is…” vi. Print value of area vii. Stop b. Compute the interest earned in 1 year i. Get value of starting account balance ii. Get value of annual interest rate iii. Set value of interest earned to starting account balance times annual  interest rate iv. Set value of sum to interest earned plus starting account balance v. Print message “Interest earned is…” vi. Print value of interest earned vii. Print message “Final account balance is…” viii. Print value of final account balance ix. Stop c. Determine the flying time between two cities i. Get value of mileage between 2 cities ii. Get value of average speed

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.

## This document was uploaded on 05/01/2011.

### Page1 / 2

Pseudocode Assignment - TanishaBillups 1 a i Getvalueofbase...

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

View Full Document
Ask a homework question - tutors are online