Spring 2014 | Cay S. Horstmann | Department of Computer Science | San Jose State University
BlueJ projects are here.
Mississippi
, print M
, and if it is Missouri
, print Mour
. Draft: Only print whether the first two letters are unique. "Fred"
, you print
Fred Fre red Fr re ed F r e dDraft: Just print the strings of length 3.
Part C. Write a program that, given a string, displays the string in hieroglyphs. Simply use the images a.gif ... z.gif in the project and position them next to each other in the order given by the input string. Turn all letters into lowercase and skip anything that's not between a and z. However, for a space, put a blank of 20 pixels.
Draft: Make it work for strings consisting of two lowercase letters.
Note: This isn’t actually how the Egyptian alphabet works. If you care about the details, check out the Wikipedia page. (To see the hieroglyphs in the code chart, run sudo apt-get install ttf-ancient-fonts
in Lubuntu.)