UMBC | CMSC211 |
Use the following colors to indicate the range for each column:
Foreground color | range |
---|---|
001 | 0 - 19 |
010 | 20 - 39 |
011 | 40 - 59 |
100 | 60 - 79 |
101 | 80 - 99 |
110 | 100 - 119 |
111 | 120 - 139 |
NOTE: This is different from what was discussed in class. Then when you need to calculate the color, you divide by 20, the quotient plus one becomes the number and the remainder plus one becomes the height. This means that you must output one item for a count of zero. This algorithm makes it easier to implement!
Output the values for the X and Y axis as shown in the output example below, (Note that this shows the character "@" and not the color):
19 18 17 16 15 14 13 12 11 10 9 @ 8 @ 7 @ @ 6 @ @ 5 @ @ @ @ @ 4 @ @ @ @ @ @ 3 @ @ @ @ @ @ @ @ @ 2 @ @ @ @ @ @ @ @ @ @ 1 @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ 0 @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
;; Filename: proj5.asm ;; Name: Ima Student ;; SSAN: 6789 ;; Date: 3 Feb 2001 ;; Course: CMSC-211 ;; Description: (Your psuedocode goes here. Must be detailed) ;; Notes: (As needed, such has how to compile)
UMBC CMSC211 |