Monday, April 23, 2012

Re: [ vuZs.net ] Re: [virtualposition] cs502 assignment # 1idea solution

i have snd u pseudo code, but plz must chnage it,otherwise both get zero marks.
  1. for i  1 to length(A) - 1
  2.                 do key i
  3.                 Find the i-th smallest element of A
  4.                 for j  i to length(A)
  5.                 do key2  j
  6.                 if A[key] > A[key2]
  7.                 then key  key2
  8.             Exchange the i-th smallest element and i-th element of A
  9.                 temp  A[key]
  10.                 A[key A[i]
  11.                 A[i temp


On Mon, Apr 23, 2012 at 8:28 AM, NAZISH KANWAL <mc100400722@vu.edu.pk> wrote:

fari mje 1st question ki samaj nhi aa rhi. plzzzzzzzzz tell me about that
is me pseudo code kese likhna ha?

--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
 
To post a new message on this group, send email to vuZs@googlegroups.com
 
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email to vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe

--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
 
To post a new message on this group, send email to vuZs@googlegroups.com
 
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email to vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe

No comments:

Post a Comment