Pseudocode Assignment

Pseudocode Assignment - TanishaBillups PseudocodeAssignment...

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

View Full Document Right Arrow Icon
   Tanisha Billups 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
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
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 PseudocodeAssignment...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online