<?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 find the attached code  below and write code to find solution dynamically not chatgpt code please in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/find-the-attached-code-below-and-write-code-to-find-solution/m-p/935930#M367924</link>
    <description>&lt;P&gt;data accounts;&lt;BR /&gt;input accno age amount;&lt;BR /&gt;cards;&lt;BR /&gt;101 23 2000&lt;BR /&gt;102 32 3000&lt;BR /&gt;103 21 1300&lt;BR /&gt;104 38 2100&lt;BR /&gt;105 18 1890&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;/*Task- increase 1000 rs per year for each account and&lt;BR /&gt;find total amount for every customer age at 55 */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*please write other than this */&lt;/P&gt;&lt;P&gt;/*Chat gpt code */&lt;/P&gt;&lt;P&gt;data accounts;&lt;BR /&gt;input accno age amount;&lt;BR /&gt;cards;&lt;BR /&gt;101 23 2000&lt;BR /&gt;102 32 3000&lt;BR /&gt;103 21 1300&lt;BR /&gt;104 38 2100&lt;BR /&gt;105 18 1890&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data accounts_updated;&lt;BR /&gt;set accounts;&lt;BR /&gt;years_to_55 = 55 - age;&lt;BR /&gt;total_amount_at_55 = amount + (years_to_55 * 1000);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=accounts_updated;&lt;BR /&gt;var accno age amount years_to_55 total_amount_at_55;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2024 14:55:42 GMT</pubDate>
    <dc:creator>sas_aspirant</dc:creator>
    <dc:date>2024-07-16T14:55:42Z</dc:date>
    <item>
      <title>find the attached code  below and write code to find solution dynamically not chatgpt code please</title>
      <link>https://communities.sas.com/t5/SAS-Programming/find-the-attached-code-below-and-write-code-to-find-solution/m-p/935930#M367924</link>
      <description>&lt;P&gt;data accounts;&lt;BR /&gt;input accno age amount;&lt;BR /&gt;cards;&lt;BR /&gt;101 23 2000&lt;BR /&gt;102 32 3000&lt;BR /&gt;103 21 1300&lt;BR /&gt;104 38 2100&lt;BR /&gt;105 18 1890&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;/*Task- increase 1000 rs per year for each account and&lt;BR /&gt;find total amount for every customer age at 55 */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*please write other than this */&lt;/P&gt;&lt;P&gt;/*Chat gpt code */&lt;/P&gt;&lt;P&gt;data accounts;&lt;BR /&gt;input accno age amount;&lt;BR /&gt;cards;&lt;BR /&gt;101 23 2000&lt;BR /&gt;102 32 3000&lt;BR /&gt;103 21 1300&lt;BR /&gt;104 38 2100&lt;BR /&gt;105 18 1890&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data accounts_updated;&lt;BR /&gt;set accounts;&lt;BR /&gt;years_to_55 = 55 - age;&lt;BR /&gt;total_amount_at_55 = amount + (years_to_55 * 1000);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=accounts_updated;&lt;BR /&gt;var accno age amount years_to_55 total_amount_at_55;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 14:55:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/find-the-attached-code-below-and-write-code-to-find-solution/m-p/935930#M367924</guid>
      <dc:creator>sas_aspirant</dc:creator>
      <dc:date>2024-07-16T14:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: find the attached code  below and write code to find solution dynamically not chatgpt code pleas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/find-the-attached-code-below-and-write-code-to-find-solution/m-p/935934#M367925</link>
      <description>&lt;P&gt;Missing details:&lt;/P&gt;
&lt;P&gt;You request (I think)"Task- increase 1000 rs per year for each account and&lt;BR /&gt;find total amount for every customer age at 55 ".&lt;/P&gt;
&lt;P&gt;Increase what? There is no variable named RS so I don't know what to increase.&lt;/P&gt;
&lt;P&gt;Increase per year? What year? How many years? There is no date information at all in your data so do not have any clue what a start or end of the time period to "increase" anything would be.&lt;/P&gt;
&lt;P&gt;"Customer age at 55": You currently show no age 55 customers. So nothing to total. This might be involved with&amp;nbsp; your not well defined "increase" so try defining that better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should also state exactly what is wrong with that chatgpt solution. It looks reasonable for one possible interpretation of your request. I can think of several others but need more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you know what the the desired total is for the small example data then you should show us what that might be as a way of testing whether any guesses as to the actual requirements are close.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 15:23:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/find-the-attached-code-below-and-write-code-to-find-solution/m-p/935934#M367925</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-07-16T15:23:52Z</dc:date>
    </item>
    <item>
      <title>Better subject line needed.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/find-the-attached-code-below-and-write-code-to-find-solution/m-p/935935#M367926</link>
      <description>&lt;P&gt;Could you please help us all? Please go back to your &lt;STRONG&gt;original&lt;/STRONG&gt; post and change the Subject line so that it briefly describes the problem you are trying to solve, and doesn't talk about how you need help on writing code.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 15:54:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/find-the-attached-code-below-and-write-code-to-find-solution/m-p/935935#M367926</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-07-16T15:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: find the attached code  below and write code to find solution dynamically not chatgpt code pleas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/find-the-attached-code-below-and-write-code-to-find-solution/m-p/935940#M367927</link>
      <description>&lt;P&gt;You want total rupees at age 55, starting with AMOUNT at age AGE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What's wrong with the chatgpt code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: and what do you mean by finding the solution "dynamically"?&amp;nbsp; I see nothing static about the chatgpt solution.&amp;nbsp; (Perhaps you mean that the age limit 55 is to be made into a paramenter).&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 16:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/find-the-attached-code-below-and-write-code-to-find-solution/m-p/935940#M367927</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2024-07-16T16:50:49Z</dc:date>
    </item>
  </channel>
</rss>

