<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: do loop in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/do-loop/m-p/464484#M118427</link>
    <description>&lt;P&gt;thanks and will try to resolve the queries as you mentioned.&lt;/P&gt;</description>
    <pubDate>Wed, 23 May 2018 17:42:10 GMT</pubDate>
    <dc:creator>gautamdvndr</dc:creator>
    <dc:date>2018-05-23T17:42:10Z</dc:date>
    <item>
      <title>do loop</title>
      <link>https://communities.sas.com/t5/SAS-Programming/do-loop/m-p/464436#M118413</link>
      <description>&lt;P&gt;On January 1 of each year, $5,000 is invested in an account. Complete&amp;nbsp; the DATA step with DO LOOP to determine the value of the account after 15 years if a constant annual interest rate of 10% is expected and for&amp;nbsp;&lt;SPAN&gt;every year you will get the interest but interest will add in amount after 15 years. Therefore, total amount should be (principal=75000) + ( 15 year interest= 60000)= 135000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;will you please confirm me the code.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 16:19:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/do-loop/m-p/464436#M118413</guid>
      <dc:creator>gautamdvndr</dc:creator>
      <dc:date>2018-05-23T16:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: do loop</title>
      <link>https://communities.sas.com/t5/SAS-Programming/do-loop/m-p/464451#M118418</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data interest;
intrst=0.10;
do year=1 to 15;
p+5000;
intrst=.10*p;
sumintrst+intrst;
if year=15 then total_amount=p+sumintrst;
output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Just a humble opinion in an affirmative, it is a nice homework and the way to approach is writing manually in a paper with pencil.pen for 3 years and translate the same with repetition(i.e do loop) with any programming language syntax. That's how i learn&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 16:46:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/do-loop/m-p/464451#M118418</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-05-23T16:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: do loop</title>
      <link>https://communities.sas.com/t5/SAS-Programming/do-loop/m-p/464484#M118427</link>
      <description>&lt;P&gt;thanks and will try to resolve the queries as you mentioned.&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 17:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/do-loop/m-p/464484#M118427</guid>
      <dc:creator>gautamdvndr</dc:creator>
      <dc:date>2018-05-23T17:42:10Z</dc:date>
    </item>
  </channel>
</rss>

