Posted by: sojoketo May 1, 2014
Any programmer geeks to help?
Login in to Rate this Post:     0       ?        
oiee Nas(ey), tero jagir khatrama xa hai keta. :)

foreach (var car in InComing)
{
numOfCars += car;
}
--------------------------------

analysis as according to your soln:

int[] incoming = { 10, 0, 0, 4, 20 };

numOfCars = 34;

numOfCars/countPerDay = Math.Ceiling will give you 5

but actual answer should be 6.
:)
plz redo it without dreaming about priyanka  and re-post it.
That'st your assignment.  :)
Last edited: 01-May-14 02:24 PM
Last edited: 01-May-14 02:25 PM
Read Full Discussion Thread for this article