<shakes head sadly>wayne brandon wrote:...but we are only allowed to use 3 methods
wayne brandon wrote:but we are only allowed to use 3 methods
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
My interpretation of this is that you need those three methods but that it doesn't preclude helper methods.the plan was to have 3 methods
getDetails
calculateData
printQuote
Who is paying for this bootcamp of yours?wayne brandon wrote:. . . but we are only allowed to use 3 methods
as for the byte thing, if it is a number from 1 to 127 such as number of drivers (which would prob be 1,2 or 3 at the most) we have been instructed to use a byte, Campbell told me the same thing . . .
wayne brandon wrote:i am ...was 500 dollars.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
wayne brandon wrote:i have a lot of passion.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Carey Brown wrote:
<shakes head sadly>wayne brandon wrote:...but we are only allowed to use 3 methods
wayne brandon wrote:But he said that isn't necessary and had instructed the students that asked that three methods was enough
Didn't I show you my input class and how you can verify that an input is in a particular range? It is a bt harder for text because even a single word of text has so much potential variability that it becomes hard to validate. One way to do such validation may be a regular expression, but that is probably beyond the scope of what you need at present. And regular expression are usually not easy.Junilu Lacar wrote:. . . All those loops you have for checking for correct input is duplicated logic . . .
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |