I'm about two weeks into my first ever Scala course and I have a exercise I could use some help on. I need to write a function to calculate the Median (Middle number) of three values. This is my code so far. def med(a:Double, b:Double, c:Double):Double = () I'm going with type of double so that users would be able to enter floating point numbers into my program. Any ideas about how to calculate the median?
--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm about two weeks into my first ever Scala course and I have a exercise I could use some help on. I need to write a function to calculate the Median (Middle number) of three values. This is my code so far. def med(a:Double, b:Double, c:Double):Double = () I'm going with type of double so that users would be able to enter floating point numbers into my program. Any ideas about how to calculate the median?
--
I'm about two weeks into my first ever Scala course and I have a exercise I could use some help on. I need to write a function to calculate the Median (Middle number) of three values. This is my code so far. def med(a:Double, b:Double, c:Double):Double = () I'm going with type of double so that users would be able to enter floating point numbers into my program. Any ideas about how to calculate the median?
--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
...hackers have a reputation for meeting simple questions with what looks like hostility or arrogance. It sometimes looks like we're reflexively rude to newbies and the ignorant. But this isn't really true.
What we are, unapologetically, is hostile to people who seem to be unwilling to think or to do their own homework before asking questions. People like that are time sinks — they take without giving back, and they waste time we could have spent on another question more interesting and another person more worthy of an answer.
Thanks for the help… The sarcasm on this forum is terrible. Research is encouraged, I’m not cheating or stealing information. This is one of the least friendly forums I have ever been a part of.
Despite the few unfriendly-sounding responses you got, in general this list is quite friendly and helpful, so I hope you stick around.