Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Complete IIT AIEEE ICSE ISC PMT help forum

Complete help forum for students preparing for icse iit aieee cbse pmt and other related exams.Stay updated about all 2011 exams.
 
HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  India NewsIndia News  
Keywords
CLASS paper UNION 2007 question YEAR 2006 papers 2010 2004 SELECT 2009 RESULT CASE graph science ICSE physics computer prelim
Latest topics
» Nitration of aniline - IIT JEE 2018 Advanced - solved
ISC JAVA Algorithm to display mode and mode frequency EmptyFri Jun 08, 2018 2:34 am by adianadiadi

» Diamagnetic - Paramagnetic - Ni(CO)4, [Ni(CN)4]2- and [NiCl4
ISC JAVA Algorithm to display mode and mode frequency EmptyFri Apr 06, 2018 1:05 am by adianadiadi

» IIT JEE chemistry solved interactive question paper
ISC JAVA Algorithm to display mode and mode frequency EmptySun Oct 29, 2017 12:11 pm by adianadiadi

» IIT JEE 2015 SOLVED QUESTION PAPER
ISC JAVA Algorithm to display mode and mode frequency EmptyWed Oct 19, 2016 1:44 pm by adianadiadi

» IIT JEE chemistry solved questions
ISC JAVA Algorithm to display mode and mode frequency EmptySat Jul 18, 2015 6:15 pm by adianadiadi

» General Description of Chinese Market for Foaming Agent ADC
ISC JAVA Algorithm to display mode and mode frequency EmptyFri May 09, 2014 2:09 pm by happybaicaitou

» How to get Lowest Cost MBBS Admission?
ISC JAVA Algorithm to display mode and mode frequency EmptyMon Feb 24, 2014 6:39 pm by MENTOR 2014

»  girl boy vashikaran specialist agori baba ji +91-9461165
ISC JAVA Algorithm to display mode and mode frequency EmptyTue Jan 21, 2014 6:00 pm by krshastri

»  STRONG LOST LOVE SPELL +91-9461165176
ISC JAVA Algorithm to display mode and mode frequency EmptyTue Jan 21, 2014 6:00 pm by krshastri

Top posters
abhas
ISC JAVA Algorithm to display mode and mode frequency Vote_lcapISC JAVA Algorithm to display mode and mode frequency Voting_barISC JAVA Algorithm to display mode and mode frequency Vote_rcap 
Anu..i luv icse...:)
ISC JAVA Algorithm to display mode and mode frequency Vote_lcapISC JAVA Algorithm to display mode and mode frequency Voting_barISC JAVA Algorithm to display mode and mode frequency Vote_rcap 
G-7
ISC JAVA Algorithm to display mode and mode frequency Vote_lcapISC JAVA Algorithm to display mode and mode frequency Voting_barISC JAVA Algorithm to display mode and mode frequency Vote_rcap 
siya
ISC JAVA Algorithm to display mode and mode frequency Vote_lcapISC JAVA Algorithm to display mode and mode frequency Voting_barISC JAVA Algorithm to display mode and mode frequency Vote_rcap 
Candy
ISC JAVA Algorithm to display mode and mode frequency Vote_lcapISC JAVA Algorithm to display mode and mode frequency Voting_barISC JAVA Algorithm to display mode and mode frequency Vote_rcap 
jOhNy
ISC JAVA Algorithm to display mode and mode frequency Vote_lcapISC JAVA Algorithm to display mode and mode frequency Voting_barISC JAVA Algorithm to display mode and mode frequency Vote_rcap 
Apurva
ISC JAVA Algorithm to display mode and mode frequency Vote_lcapISC JAVA Algorithm to display mode and mode frequency Voting_barISC JAVA Algorithm to display mode and mode frequency Vote_rcap 
WinRrule
ISC JAVA Algorithm to display mode and mode frequency Vote_lcapISC JAVA Algorithm to display mode and mode frequency Voting_barISC JAVA Algorithm to display mode and mode frequency Vote_rcap 
ambili
ISC JAVA Algorithm to display mode and mode frequency Vote_lcapISC JAVA Algorithm to display mode and mode frequency Voting_barISC JAVA Algorithm to display mode and mode frequency Vote_rcap 
saif
ISC JAVA Algorithm to display mode and mode frequency Vote_lcapISC JAVA Algorithm to display mode and mode frequency Voting_barISC JAVA Algorithm to display mode and mode frequency Vote_rcap 



Search if you can't find it here

ISC JAVA Algorithm to display mode and mode frequency

View previous topic View next topic Go down
AuthorMessage
abhas
Active member
Active member
abhas


ISC JAVA Algorithm to display mode and mode frequency Vide
PostSubject: ISC JAVA Algorithm to display mode and mode frequency ISC JAVA Algorithm to display mode and mode frequency EmptyWed Nov 25, 2009 7:45 pm

Algorithm to display mode and mode frequency in an array.



1.
Start





2.
Declare variable (mode, freqatmode, marks[])





3.
Input the marks of 10 students and store it in the
array – marks[]





4.
Initialize variables to store mode and mode frequency



ISC JAVA Algorithm to display mode and mode frequency Clip_image001ISC JAVA Algorithm to display mode and mode frequency Clip_image001(LET mode 0,
LET freqatmode 0
)





5.
Run a loop from 0 to 100 and find frequency of each
number in the array – marks[]





6.
If frequency of any number is greater than or equal
to f, then store the number in mode and frequency in freqatmode





7.
Print the mode and the mode frequency





8.
Stop
Back to top Go down

ISC JAVA Algorithm to display mode and mode frequency

View previous topic View next topic Back to top
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Complete IIT AIEEE ICSE ISC PMT help forum :: ISC :: ISC 2010 [Class xii] :: Computer-