This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Assignment: HW 1: Pseu, Pseu, Pseudocode Assignment Information Maximum grade: 100 Due date: September 5, 2008 Instructions: CIS121 HOMEWORK ASSIGNMENT #1: PSEU...PSEU...PSEUDOCODE 1. Write pseudocode instructions to carry out each of the following computational operations. a. Determine and display the area of a triangle given values for the base b and the height h . b. Compute the interest earned in 1 year given the starting account balance B and the annual interest rate I and the assuming simple interest, that is, no compounding. Also determine and display the final balance at the end of the year. c. Determine and display the flying time between two cities given the mileage M between them and the average speed of the airplane. 2. Using only sequential operations, write an algorithm in pseudocode that inputs four numbers corresponding to scores received on...
View
Full
Document
 Fall '09

Click to edit the document details