Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Javascript classes, Please take a look at my question below Date: Thu, 09 Apr 2015 16:17:03 +0200 Organization: PointedEars Software (PES) Lines: 20 Message-ID: <8842311.7ocnDDfIAB@PointedEars.de> References: <886ff158-ecdf-4913-8cc2-7ac2ba88b971@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: solani.org 1428589147 26868 eJwNyckBwCAMA7CVHBo7dBzIsf8Irb7iI1OGi3IOJzDldzGZ1c5tWUYM8JZtqPjfiT6DZbfpHx69ERs= (9 Apr 2015 14:19:07 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Thu, 9 Apr 2015 14:19:07 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNyMkBwCAIBMCWQC5TDotu/yWYeU5Yak55RnowKE0p21r8bqAvZNZ/oJ/VUCxz2awzgqmTQeW4h8LgKT0PcUsWWg== Cancel-Lock: sha1:ryWM0f3KMegsQDOFZQwRI1Gy58c= X-NNTP-Posting-Host: eJwFwYEBwDAEBMCVSvjIOHj2H6F3fiDoa3CYr6+wP8nmUKKjyHsY3Xyw2irkJGdGlqmqeD9O7RMH Xref: csiph.com comp.lang.javascript:27268 JJ wrote: > On Wed, 8 Apr 2015 10:46:28 -0700 (PDT), Rahul Reddy wrote: >> [Programming homework question] > > This is more like math problem rather than JavaScript. > > Here's an example for A. > > Total_Votes = A + B + C + D > A_Share% = A / Total_Votes x 100 > A = A_Share x Total_Seats / 100 -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.