cruises (1 Viewer)

kouri

well w t f
Joined
Sep 2, 2003
Messages
492
Location
Sydney
Gender
Female
HSC
2003
did anyone go to the commerce cruise? :)

that was alright.. .unexpectedly

and next.. anyone going to hkss cruise? hehe..
 

hk31

Member
Joined
Jun 6, 2003
Messages
479
Location
shidonii
Gender
Male
HSC
2003
im going to the hkss cruise :D
stupid tute quizzes...now i cant go to comm camp
:(
 

McLake

The Perfect Nerd
Joined
Aug 14, 2002
Messages
4,187
Location
The Shire
Gender
Male
HSC
2002
Originally posted by underthesun
Kouri is bored. Writing out pronounce functions don't live to her expectations of university :)
Hehehe, assignment 1 for comp1711 looks fun ...
 

redslert

yes, my actual brain
Joined
Nov 25, 2002
Messages
2,373
Location
Behind You!!
Gender
Male
HSC
2003
i have a stupid zero error!!
arrrr can't figure it out

lol anyone wanna give me some tips as to how to fix :p
 

underthesun

N1NJ4
Joined
Aug 10, 2002
Messages
1,781
Location
At the top of Riovanes Castle
Gender
Undisclosed
HSC
2010
Originally posted by redslert
i have a stupid zero error!!
arrrr can't figure it out

lol anyone wanna give me some tips as to how to fix :p
Have a case guard in the beginning,

| number == 0 = "ZEROOO CLUTTER"

well, just a simple example :)
 

truly-in-bliss

my love is like woah!
Joined
Jun 3, 2003
Messages
2,995
Location
Strathfield, Sydney Gender: Female
Gender
Female
HSC
2003
yeah went to com curise! thought it was great.. glad it wasnt sold out otherwise it would have been packed.. and the third level chill out was just mad stuff.... esp when we go under the bridge... had a excellent time.. :p
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
Originally posted by redslert
i have a stupid zero error!!
arrrr can't figure it out

lol anyone wanna give me some tips as to how to fix :p
I'll help you a little bit.

Make another function. Make that function have this line:

| x == 0 = "zero"

you figure out the last line :)

then add one more line. I'm not going to tell you, figure it out yourself :)
 

redslert

yes, my actual brain
Joined
Nov 25, 2002
Messages
2,373
Location
Behind You!!
Gender
Male
HSC
2003
Originally posted by enak
otherwise = ""

:)
lol ya that solves for every case......except for the actual "0"...

dammit i tried everything
soooo lost...the only thing stopping me from finishing! so annoying
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
Originally posted by enak
otherwise = ""

:)
That's not correct.

I'll give you everything except the last line.

pronounce :: Int -> String
pronounce 0 = "zero"
<--- last line ----->

*hint* you need to rename your original pronounce function that pronounces every other number to something else so that the function to display zero will work.

p.s. sorry for hi-jacking this thread.
 

redslert

yes, my actual brain
Joined
Nov 25, 2002
Messages
2,373
Location
Behind You!!
Gender
Male
HSC
2003
Originally posted by Ragerunner
That's not correct.

I'll give you everything except the last line.

pronounce :: Int -> String
pronounce 0 = "zero"
<--- last line ----->

*hint* you need to rename your original pronounce function that pronounces every other number to something else so that the function to display zero will work.

p.s. sorry for hi-jacking this thread.
have i ever told u that i love you :p

arrrrr so simple but yet i spent literally hours and couldn't solve it
tried everything from length to div.........

thank you!

sorry for the hijack, my apologies
 

McLake

The Perfect Nerd
Joined
Aug 14, 2002
Messages
4,187
Location
The Shire
Gender
Male
HSC
2002
Originally posted by underthesun
You obviously haven't experienced the terror when everyone else have twice as less lines of code than yours :D

then again its just my comments ;)
That's OK, your just thourough ...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top