This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

question  RSS feed

 
Justin Fox
Ranch Hand
Posts: 802
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok im supposed to modify some kinda postal code app. and here is one

of the modifications thats supposed to be made..

" for each country, there should be a file that contains, on each line, a postal code prefix followed by the name of a destination of such postal codes. For example, class BritishPostalcode might use the file BritishPostalDestinations.tx, and on one of its lines it might contain 'SW Southwest - London'. The parts of the program that set the destination should read these files."

now i understand the instructions...

but what postal prefixes am i supposed to use??

like in the USZipCode class they use "in a major city" or "in a small city",

yeah im sooo lost...

ill just have to post the code later, this is a horrible assignment lol


thanks,

Justin
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where are these classes coming from? Are these the ones...?

http://www.site.uottawa.ca/school/research/lloseng/supportMaterial/source/javadoc/index.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!