Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Assignment Java-5 (Times)

 
Steve Jensen
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To start off, how many Loops are we expected to use??
I could do it as 11 individial loops, none of them nested - but that's defeating the whole object of the exercise.
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is more than one acceptable solution to this. Some use more loops than others. But eleven loops seems like a lot. One of them needs to be nested.
 
Steve Jensen
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have struggled like there's been no tomorrow.
I am defeated.
Do you think somebody could pm or e-mail me the solution to this one?
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, Steve. The only way to get the instructor's solutions is to sign up for the nitpicking.
[ November 29, 2002: Message edited by: Marilyn de Queiroz ]
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BTW Steve, what's the big rush?
-Barry
 
juliane gross
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Steve,
I'd like to encourage you to sign up for the nitpicking: it is fun AND seems to put some programming order in your brain, at least sometimes in mine
And also: each assignment builds up for the next one, so it seems to me; you will be able to think of solutions for a new assignment somewhat easier AFTER you sweated through all the assignments before that one, because you learn heaps of things during nitpicking.
I have to repeat: it is a lot of sweaty work, but helpful and real fun, too!
Juliane
(also sweating over the next assignment)

[ November 30, 2002: Message edited by: juliane gross ]
 
Steve Jensen
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Barry Gaunt:
BTW Steve, what's the big rush?
-Barry

The 'Big Rush' is that i'm supposed to be able to program, as I work a lot with xsl, and my role at the place I work is that of a junior-software developer.
But I should be walking around with face paint and a bright red plastic ball on my nose, as i'm more akin to a joker than a programmer.
[ December 01, 2002: Message edited by: Steve Jensen ]
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oooo. That's a bad spot to be in. Steve, why did you change your displayed name to Parmar? That doesn't fit into the naming policy guidelines. Please change it back.
[ December 01, 2002: Message edited by: Marilyn de Queiroz ]
 
Steve Jensen
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oop, sorry.
I didn't realise that i'd done that. I meant to change somehting else in my profile.
Anyway, i've changed it back. I was also wondering, I paid up and joined today, and got the confirmation e-mail.
When will i qualify for some nitpicking then?
My problem with java is a strange one. I sort of understand what is going on, in theory, but in practice, I don't have much of a clue.
 
Pauline McNamara
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem with java is a strange one. I sort of understand what is going on, in theory, but in practice, I don't have much of a clue.

Well, then, you just took the first step to get some really good practice. Be prepared to work hard and learn a lot.
Welcome to ntipicking, the grueling part of the Cattle Drive!
Pauline
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're in. Send your first assignment (Java-1a) to nitpick@javaranch.com
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome in, Steve, good luck with your Java-1a.
Tell the "suits" that you are doing an advanced total hands-on course in "Reengineering Object Oriented Systems", and mention the words "refactoring", "optimization", and similar. You will be promoted to "GURU III" within a few months.
BTW that Java-1a above is not a typo. That's life on the ranch.
-Barry
[ December 01, 2002: Message edited by: Barry Gaunt ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic