c02_ps02_fall03

c02_ps02_fall03 - Æ Run Options). What is the output of...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
UNIFIED ENGINEERING ± Fall 2003 I. Kristina Lundqvist Problem C2. (Unified Computers and programming) Start with downloading 2 files from the CP web page: screen.ads and screen.adb . 1. ± Modify the “Hello” program shown in class (Lecture C2) to display the following text on the screen Hello World My name is Your Name Ensure that the output of your program occurs on two separate lines as shown above. Turn in a hard copy of your code listing and an electronic copy of your code. 2. Compile Spider_Crash (Program 2.10, Page 56, Feldman Koffman). Redirect the output of your program into a file (In AdaGIDE, use menu Run
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Æ Run Options). What is the output of running the program? (It is sufficient to print the contents of the output file) 3. ± Write an algorithm to use the Feldman “spider package” to draw an inverted triangle as shown below. Turn in a hard copy of your code listing and an electronic copy of your code. RRRRRRR R R R R R Hint : Start the spider facing west; draw the top line and so on. The spider can draw a blank by changing the color to ‘None’. Read Program 2.5 (Page 47, Feldman Koffman) and Program 2.6 (Page 50, Feldman Koffman)....
View Full Document

This note was uploaded on 01/28/2012 for the course AERO 16.01 taught by Professor Markdrela during the Fall '05 term at MIT.

Ask a homework question - tutors are online