Assignment: HW1: Pseu, Pseu, Pseudocode Assignment Information Maximum grade: 100 Due date: February 1, 2008 Instructions: CIS121 HOMEWORK ASSIGNMENT #1: PSEU. ..PSEU. ..PSEUDOCODE Type your solutions to the following problem set in a MS Word document and submit it via WebCT. 1. Write pseudocode instructions to carry out each of the following computational operations. Do not prompt the user for input values, just "get" the values of the required input variables. a. Determine 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 the final balance at the end of the year. c. Determine the flying time between two cities given the mileage M between them and
This is the end of the preview. Sign up
access the rest of the document.