write a dot-matrix "bitmap" display emulator, and a shape drawing program. The dot-matrix display is 80 wide by 24 tall, so it has 8024=1920 bits. It only has two colors: off and on. Off will be represented by a space " ", while On will be represented by an asterisk, "".
When the program starts, it should ask the user for a bitmap number. Then it should display the bitmap followed by the bitmap number. For ever 1 bit in the bitmap number, the program should display an asterisk, for every 0 bit it should display a space. The bit in the 1s place (20) represents row 0, column 0. The bit in the 2s place (21) represents row 0, column 1. The bit in the 211 place represents row 0, column 11. The bit 280 place represents row 1, column 0. The bit in the 291 place represents row 1, column 11. Hint: 91 is 80*1 + 11.
Then it should ask the user if they want to add a line. If the user enters "yes", then it should ask them for a starting row and column, and an ending row and column. It should then ask them if it should turn the line on or off. If the user selects on, it draw the line in on bits ("*"s), if the user selects off it should draw the line in off bits (" "s) (it is actually erasing the line!). Then it should print the bitmap followed by the bitmap number. Then the program should ask the user if they want to add a line again.
Part 1:
Write a function to display the bitmap and the bitmap number.
Get your program working so that it starts, asks for the bitmap number, and then displays the bitmap and the bitmap number.
You are NOT ALLOWED to use bin() or bitarray or other similar tools in your answer. You can use them to check your work, but remove it or comment it out before you submit.
You must use bitwise arithmetic.
Hint: Print one line for each row.
Hint: For some row and column, you should use