<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Val</title>
    <description>The latest articles on DEV Community by Val (@valery_drantyev_a87761b31).</description>
    <link>https://dev.to/valery_drantyev_a87761b31</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F978527%2Fbbc59b35-698d-4d9e-835f-0bf8e4a4f9ac.png</url>
      <title>DEV Community: Val</title>
      <link>https://dev.to/valery_drantyev_a87761b31</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/valery_drantyev_a87761b31"/>
    <language>en</language>
    <item>
      <title>Encrypt a number</title>
      <dc:creator>Val</dc:creator>
      <pubDate>Thu, 24 Nov 2022 14:37:03 +0000</pubDate>
      <link>https://dev.to/valery_drantyev_a87761b31/encrypt-a-number-a48</link>
      <guid>https://dev.to/valery_drantyev_a87761b31/encrypt-a-number-a48</guid>
      <description>&lt;p&gt;Hello everyone. I am self learning C from the Dietel and Dietel book C How to program. I am doing an assignment at the end of the chapter that requires a user to enter a four digit integer that will be encrypted as follows. Replace each digit with the result of adding 7 to the digit and getting the remainder after dividing the new value by 10. Then swap first digit with third, and second with fourth. Then display the digit. I think I can solve the first part of the problem. I am not sure how I will switch the digits places. Any suggestions is appreciated. So far the material have only covered while loop, if, else if, and I can only use what's available to me up to this point. I look forward to your suggestions. Thank you.&lt;/p&gt;

</description>
      <category>c</category>
    </item>
  </channel>
</rss>
