Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!news.aset.psu.edu!support1.mathforum.org!not-for-mail
From: CandyGirl <Rasha@dqnetwork.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: do while
Date: Thu, 15 May 2008 09:14:04 EDT
Organization: The Math Forum
Lines: 12
Message-ID: <16944196.1210857274898.JavaMail.jakarta@nitrogen.mathforum.org>
References: <g0gt2m$h3q$1@fred.mathworks.com>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1210857274 18371 144.118.30.135 (15 May 2008 13:14:34 GMT)
X-Complaints-To: news@support1.mathforum.org
NNTP-Posting-Date: Thu, 15 May 2008 13:14:34 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:468575



Yes there is,


A=5
B=2

while(A > B)
C = (A+B)/2
B=B+1
end

hope that helped