This guy - Sales Director  just want the assignment done for him...tithihihihihihi...

Please refer here http://www.cplusplus.com/doc/tutorial/arrays/  and http://www.daniweb.com/software-development/cpp/threads/244784

Have a great arrays day....

M




On Tue, Jun 14, 2011 at 2:34 PM, David Kiania | Asentric Consulting Ltd <kianiadee@gmail.com> wrote:
Joseph,

Love this approach, weeds off talkers and you get real coders.


Regards


David K


On Tue, Jun 14, 2011 at 12:35 PM, joseph karanja
<jkaranja@olivinetech.com> wrote:
> Internship for 1st Year Bachelor of Computer Science or Business Information
> Technology Students
>
> Olivine Technology Ltd would like to recruit TWO interns who are currently
> pursuing their first year in either a Bachelor of Computer Science or
> Business Information Technology.
>
> To apply for the position kindly attempt the following:
>
> In a programming language of your choice:
>
>
>
> 1. Write a function that takes as its input an array of size n and returns 0
> if the array contains all the values from 1 through n, otherwise the
> function returns 1.
>
>
>
> For Example:
>
>
>
> A. If the input array is [1, 2, 3, 4, 5]
>
>    return 0
>
>    Since the array has five elements and all the numbers from 1 to 5 are
> present.
>
> B. If the input array is [1, 2, 3, 4, 5, 18]
>
>    return 1
>
>    Since the array has six elements and all the numbers from 1 to 6 are NOT
> present (6 is missing)
>
> Kindly, email your answer to info@olivinetech.com. Closing date for
> submission of your answer is 20th June Mid-night
>
> --
> Sincerely,
>
>
> Joseph Karanja
> Director of Sales and Marketing,
> Olivine Technology.
> Ojijo Plaza,Plums Lane, Off Ojijo Road, Parklands (Near Parklands Sports
> Club).
> www.olivinetech.com
> P.o. Box 14149-00800
> Telephone:020-2667603
> Mobile: 0720499322
> Skype: karanja1984
>
> DISCLAIMER: The information contained in or accompanying this e-mail is
> intended for the use of the stated recipient only.  It may contain
> confidential, proprietary or legally privileged information.  No
> confidentiality or privilege is waived or lost by any mistransmission.  If
> you receive this message in error, please immediately delete it and all
> copies of it from your system, destroy any hard copies of it and notify the
> sender.  You must not, directly or indirectly, use, disclose, distribute,
> print, or copy any part of this message if you are not the intended
> recipient.
> Any views or opinions presented herein are solely those of the author and do
> not necessarily represent those of Olivine Technology Limited.
> Nairobi, Kenya
>
>
>
> _______________________________________________
> Skunkworks mailing list
> Skunkworks@lists.my.co.ke
> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
> ------------
> Skunkworks Rules
> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
> ------------
> Other services @ http://my.co.ke
>



--

[Asentric Consulting Ltd]

"The more you sweat in training, the less you bleed in war." - Navy
SEAL INSTRUCTOR
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke