COMPUTER SCIENCE STUDENT: MODULE 3 SOLVED..

Qaybta Xirfada Sayniska iyo iwm

Moderators: Moderators, Junior Moderators

User avatar
afisoone
SomaliNet Super
SomaliNet Super
Posts: 5509
Joined: Wed Jul 22, 2009 9:46 pm
Location: We all want to become president even though Amisom controls Mogadishu

COMPUTER SCIENCE STUDENT: MODULE 3 SOLVED..

Post by afisoone »

The algorithm challenge was..

find the majority of element.. for example array={ 2,3,4,3,7,3,3,5,4,3};

We were told to build a program that finds the majority of the element. If you look the array you will quickly see the majority of the element is 3.

Create a program to do that...

The solution is here... http://www.onedollarclass.com/

ayadoo afsomaali code lagu qoray..

see u next challenge...
  • Similar Topics
    Replies
    Views
    Last post

Return to “Careers - Engineering, Science & Computers”