<?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: amberitas17</title>
    <description>The latest articles on DEV Community by amberitas17 (@amberitas17).</description>
    <link>https://dev.to/amberitas17</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%2F581020%2F77edad75-c982-4d7c-8cf0-3bc84a190411.png</url>
      <title>DEV Community: amberitas17</title>
      <link>https://dev.to/amberitas17</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amberitas17"/>
    <language>en</language>
    <item>
      <title>Expo Document Picker not working on IOS Bare Workflow</title>
      <dc:creator>amberitas17</dc:creator>
      <pubDate>Tue, 14 Jun 2022 01:55:55 +0000</pubDate>
      <link>https://dev.to/amberitas17/expo-document-picker-not-working-on-ios-bare-workflow-51eo</link>
      <guid>https://dev.to/amberitas17/expo-document-picker-not-working-on-ios-bare-workflow-51eo</guid>
      <description>&lt;p&gt;UPDATE: I HAVE SOLVED THIS PROBLEM (it was a feature bug rather than the library's problem)...&lt;/p&gt;

&lt;p&gt;Hello, I have been working on an app for my client which provides uploading specific documents. My previous co-developer uses expo-document-picker for uploading documents  and images. When I was testing to an IOS Simulator, it never worked. It is a bare workflow in Expo and it is working in Android platform but IOS platform is not working. I have followed this documentation on how to manage icloud also: &lt;a href="https://docs.expo.dev/versions/latest/sdk/document-picker/#bare-workflow"&gt;https://docs.expo.dev/versions/latest/sdk/document-picker/#bare-workflow&lt;/a&gt; but it seems it never worked… I have also included some specific app.json for icloud like I included usesIcloudStorage in the app.json and the plugins expo-document-picker and the apple developer team and icloudenvironment to production… I dont know why it is never worked.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6R_DpTQ7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/90cjrfjeikm9t0p3lo6q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6R_DpTQ7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/90cjrfjeikm9t0p3lo6q.png" alt="Image description" width="880" height="1904"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yOaRmkRd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qafy9l5hkb5easrmr6cw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yOaRmkRd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qafy9l5hkb5easrmr6cw.png" alt="Image description" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The output is when you click the button for the upload the documents, it will show the icloud library that you have in iOS phone.&lt;/p&gt;

&lt;p&gt;When I clicked the button for uploading the document, it never worked.&lt;/p&gt;

&lt;p&gt;I am using React Native &lt;/p&gt;

</description>
      <category>help</category>
      <category>expo</category>
      <category>reactnative</category>
    </item>
    <item>
      <title>Nevertheless, I became a programmer</title>
      <dc:creator>amberitas17</dc:creator>
      <pubDate>Tue, 08 Mar 2022 12:27:25 +0000</pubDate>
      <link>https://dev.to/amberitas17/nevertheless-i-became-a-programmer-54nn</link>
      <guid>https://dev.to/amberitas17/nevertheless-i-became-a-programmer-54nn</guid>
      <description>&lt;p&gt;This Women's Month, I will share to you how did I became from looking for flowery words and writing a novel into using tags and code.&lt;/p&gt;

&lt;p&gt;I was dreaming of becoming a journalist when I was a first year of junior high school. I was in a newspaper club for 6 years and I was invested in writing short stories and news in the school. Until, I met HTML/CSS and Visual Basic Programming on a Computer class of my 3rd year and last year of junior high. Whenever we have activities in Computer class, we came as pairs and I was always the programmer partner. At first, I was hesitant of changing careers because I want to pursue writing. After I graduated my junior high life, I decided to pursue writing through my senior high school life which I took up Humanities and Social Sciences course. &lt;/p&gt;

&lt;p&gt;Fast forward to my last year of my Senior High, my mom/my boss was looking for a web developer as a backup for her startup. I was an intern in her startup and I do communications and marketing during my internship. Somehow, she discovered my coding skills during my junior high school years and I have some projects that I have created. She encouraged me to switch my position from communications to a Web Developer Intern. So that's where I learned Python Programming, React JS, and CSS Frameworks. During that time, my dream of becoming a writer was fading away but it became a new career choice.&lt;/p&gt;

&lt;p&gt;When I chose my college degree, I was really hesitant to get a computer-related degree program but my mind was encouraged to go to a computer-related degree which is Information Technology course. Until now, I am still coding and as DEV.to said "Nevertheless, Amber Coded 2022"... &lt;/p&gt;

&lt;p&gt;Right now, I do mobile and web development and also UI/UX designer at Cawil.AI Solutions which is an AI Startup in the Philippines. I am now an Information Technology student at Silliman University. I am proud of what I have right now. I enjoyed coding that I found a skill right off in the classroom.&lt;/p&gt;

&lt;p&gt;About my writing skills, I am still writing and on hiatus for writing novels due to my school and work. Right now, I will focus on my career.&lt;/p&gt;

</description>
      <category>wecoded</category>
      <category>beginners</category>
      <category>womenintech</category>
    </item>
    <item>
      <title>How to Create an ATM Machine Using Functions in C Language</title>
      <dc:creator>amberitas17</dc:creator>
      <pubDate>Fri, 07 Jan 2022 03:42:53 +0000</pubDate>
      <link>https://dev.to/amberitas17/how-to-create-an-atm-machine-using-functions-in-c-language-3n2k</link>
      <guid>https://dev.to/amberitas17/how-to-create-an-atm-machine-using-functions-in-c-language-3n2k</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcmhui7eby0pquxwwjrso.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcmhui7eby0pquxwwjrso.png" alt="ATM Machine"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We see how we cash out our ATM and how we deposit and withdraw our money in the ATM Machine. However, we didn't know how ATM programs were made. Now, in this blog, we are going to create an ATM Program using C language through Functions.&lt;/p&gt;

&lt;p&gt;Although, C language is not widely used in the industry but this will be the reference for the future and maybe in college.&lt;/p&gt;

&lt;p&gt;Step 1: Enter libraries needed (in this case, I used &lt;code&gt;include&amp;lt;stdio.h&amp;gt;&lt;/code&gt; and &lt;code&gt;include&amp;lt;stdlib.h&amp;gt;&lt;/code&gt;)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;

&lt;span class="cp"&gt;#include&lt;/span&gt;&lt;span class="cpf"&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;span class="cp"&gt;
#include&lt;/span&gt;&lt;span class="cpf"&gt;&amp;lt;stdlib.h&amp;gt;&lt;/span&gt;&lt;span class="cp"&gt;
&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Step 2: Enter the functions needed for the ATM (In this case, it needs to enter initial balance before we deposit or withdraw) - We have Menu, Initial Balance where users can input their initial balance, Deposit the Balance, Withdrawal, and Checking the Balance functions. We are going to use function pointers in which all of the variables will be stored and reflected in the functions. &lt;/p&gt;

&lt;p&gt;I used integer type of variable for menu function, float type of variable for the initial balance, deposit, withdraw, and checking the balance&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;

&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;menu&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;//menu function&lt;/span&gt;
&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;initial&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;//initialize balance function&lt;/span&gt;
&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;deposit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;//deposit function&lt;/span&gt;
&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;withdraw&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;//withdraw function&lt;/span&gt;
&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;checkbalance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;//checking the balance&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Step 3: Now we declared the functions, put the &lt;code&gt;main()&lt;/code&gt; function to start the program. &lt;/p&gt;

&lt;p&gt;Step 4: Inside the &lt;code&gt;main()&lt;/code&gt; function, declare the variables needed in the main to declare the functions inside the &lt;code&gt;main()&lt;/code&gt; function to show in the output. In this case, we use float type of variable for the balance and integer variable for the choices in the menu.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;

&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Now, we could declare first the menu function inside the main function. In this case, the &lt;code&gt;int choice&lt;/code&gt; variable will be declared with an ampersand to store the variable whenever the user will enter their choice.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;

&lt;span class="n"&gt;menu&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Step 5: Now, I want it to be looped because ATM Machine is looped until the user will exit the program. So, we will use while loop with switch statement so that the program will identify what type of choices does the user input. &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;

&lt;span class="k"&gt;while&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
        &lt;span class="k"&gt;switch&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;initial&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="n"&gt;menu&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;deposit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="n"&gt;menu&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;withdraw&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="n"&gt;menu&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;checkbalance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="n"&gt;menu&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Thank you for using our program"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="n"&gt;exit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="nl"&gt;default:&lt;/span&gt;
                &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"invalid Choice"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="n"&gt;menu&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
       &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;I used integer type of choices because in ATM, numbers are the only shown in the keypad. So, I used 1-5 choices, then in the exit choice, I directed it to &lt;code&gt;exit&lt;/code&gt; function to end the program&lt;/p&gt;

&lt;p&gt;Step 6: Now we have declared the functions in the &lt;code&gt;main()&lt;/code&gt; function, let's create the menu function. Declare the menu function which is &lt;code&gt;void menu (int *choice)&lt;/code&gt;. Then input the details in the menu function. Don't forget to input the return parameter to return the value.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;

&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;menu&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;[1] Initialize &lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"[2] Deposit&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"[3] Withdraw&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"[4] Display&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"[5] Exit&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;Select your transaction: &lt;/span&gt;&lt;span class="se"&gt;\n\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="n"&gt;scanf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"%d"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;*&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;I put the &lt;code&gt;&amp;amp;*choice&lt;/code&gt; in declaring the &lt;code&gt;scanf&lt;/code&gt; function to store the variable that the user will enter.&lt;/p&gt;

&lt;p&gt;Step 7: Now we have created the functionalities of the menu function, let's create the initial balance function. I want the user to enter their initial balance when they choose the initialize choice in the menu. Declare the initial balance function which is &lt;code&gt;void initial(float *currbal)&lt;/code&gt;. Then, inside the initial balance function, input the details where the user will enter the initial balance. The entered amount is equals to their current balance.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;

&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;initial&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Input an amount: &lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="n"&gt;scanf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"%f"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="c1"&gt;//currbal will store it's input&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;Your balance is Php %.2f&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="c1"&gt;//this will return the function call&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;I put the &lt;code&gt;&amp;amp;*currbal&lt;/code&gt; in declaring the &lt;code&gt;scanf&lt;/code&gt; function to store the variable that the user will enter. Also, in the &lt;code&gt;print&lt;/code&gt; function, I put asterisk in the currbal variable to store the variable and to reflect the user's input.&lt;/p&gt;

&lt;p&gt;Step 8: Now we have created the functionalities of the initial balance function, let's create the deposit function. In the deposit function, the user will enter the amount for depositing the balance. So, the entered amount for deposit will add to the initialize balance function. So, we will also declare another variable for depositing the amount.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;

&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;deposit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
    &lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="n"&gt;depositAmount&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Enter an amount you would like to deposit: "&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="n"&gt;scanf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"%f"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;depositAmount&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;depositAmount&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="c1"&gt;//the currbal was stored in the initialize function&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;Your balance is Php %2.f&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="c1"&gt;//this will return the function call&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Now, I put the &lt;code&gt;*currbal&lt;/code&gt; in declaring the currbal variable in adding with the depositAmount variable to add and to store the variable that the user will enter. Also, in the &lt;code&gt;print&lt;/code&gt; function, I put asterisk in the currbal variable to store the variable and to reflect the user's input.&lt;/p&gt;

&lt;p&gt;Step 9: Now we have created the functionalities of the deposit function, let's create the withdraw function. In the withdraw function, the user will enter the amount for withdrawing the balance. So, the entered amount for withdraw will subtracting to the initialize balance function. So, we will also declare another variable for withdrawing the amount.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;

&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;withdraw&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
    &lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="n"&gt;withdrawAmount&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Enter the amount you would like to withdraw: "&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="n"&gt;scanf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"%f"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;withdrawAmount&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt; &lt;span class="o"&gt;-=&lt;/span&gt; &lt;span class="n"&gt;withdrawAmount&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="c1"&gt;//the currbal was stored in the initialize function&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;Your remaining balance is Php %.2f &lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;withdrawAmount&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
        &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Sorry, you do not have enough balance. Please try again. . . &lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;I want to input if the user has a low balance and the user entered higher than the withdrawAmount variable, it will create a message for a low balance. So, I used if then statement for that error message. Now, I put the &lt;code&gt;*currbal&lt;/code&gt; in declaring the currbal variable in subtracting with the withdrawAmount variable to subtract and to store the variable that the user will enter. Also, in the &lt;code&gt;print&lt;/code&gt; function, I put asterisk in the currbal variable to store the variable and to reflect the user's input.&lt;/p&gt;

&lt;p&gt;Step 10: Now we have created the functionalities of the withdraw function, let's create the checking the balance function. In the check balance function, if the user entered the menu choice for checking the balance function. This will display the current balance. In this case, we will not use the function pointers here because it reflected the variable's storage. &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight c"&gt;&lt;code&gt;

&lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;checkbalance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt; &lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
    &lt;span class="n"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Your current balence is: %.2f&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;currbal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Now, Voila!! We have created an ATM Program using C language Function pointers. Although, this will improve more because it is limited but at least we have created an ATM Program. I have finished Introduction to C language Subject in college and going to the intermediate programming. I shared to you how I created my final project in Introduction to C language.&lt;/p&gt;

&lt;p&gt;Happy learning!&lt;/p&gt;

&lt;p&gt;Source code: &lt;a href="https://github.com/amberitas17/intro-to-c-language-projects/blob/main/Cubacub_final.c" rel="noopener noreferrer"&gt;https://github.com/amberitas17/intro-to-c-language-projects/blob/main/Cubacub_final.c&lt;/a&gt;&lt;/p&gt;

</description>
      <category>c</category>
      <category>functions</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Don't Post Your College Programming Problems in Stack Overflow</title>
      <dc:creator>amberitas17</dc:creator>
      <pubDate>Sat, 18 Dec 2021 08:04:27 +0000</pubDate>
      <link>https://dev.to/amberitas17/dont-post-your-college-programming-problems-in-stack-overflow-423k</link>
      <guid>https://dev.to/amberitas17/dont-post-your-college-programming-problems-in-stack-overflow-423k</guid>
      <description>&lt;p&gt;Don't post your college programming problems in Stack Overflow and here's why...&lt;/p&gt;

&lt;p&gt;I am a first-year IT college student and for the last 2 months, I have a Stack Overflow account for asking my coding problems in my Programming subject. I asked for my homework and solving problems. When I have hard time to search most of error codes, it never answers my questions. When I asked my friends and classmates, they didn't answer my problem in coding. My last resort is posting the error on Stack Overflow. &lt;/p&gt;

&lt;p&gt;When I posted my code on Stack Overflow, things are not like what I expected. I thought that they will answer all my questions and get many upvotes. I got many downvotes and even though I got the answer I needed, they never liked the question. I posted another question, hopefully I got what I expected to be. It turns out, I got another downvotes and one answers says that "It has so much errors...", "Don't post your college homework questions in Stack Overflow, it was highly discouraged"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpl9it8p0h3c6x24p6tk7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpl9it8p0h3c6x24p6tk7.jpg" alt="Stack Overflow Question"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I forgot to say that my subject requires only this knowledge and my professor doesn't accept some functions and variables that were not yet discussed. My questions should be improved but because I was new to the community, it was like I was not welcome in the community.&lt;/p&gt;

&lt;p&gt;If you are new in programming and still having a hard time on coding especially if you are first year college in Computer Courses, here are most acceptable things you need to consider.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Ask GOOGLE&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;You need to ask Google if you have any coding topics that you were not able to understand. You may search on Google and Youtube for some answers. You may also read some similar problems on Stack Overflow BUT DON'T POST IT.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Ask a fellow coder&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;If you have a friend who is a coder or yet a professional developer and are willing to help you on coding problems, you may ask them.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Ask in the Programming Groups&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Ask in the programming groups (like in Facebook) and they are willing to help you to solve your problems.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are so much thing to learn on the internet. A message to fellow coders out there, always welcome to criticisms and more improvements. For professional coders, always welcome to help other future coders and always remember that you experienced just like them. Be friendly to everyone.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Cat CSS Art</title>
      <dc:creator>amberitas17</dc:creator>
      <pubDate>Thu, 18 Feb 2021 01:51:20 +0000</pubDate>
      <link>https://dev.to/amberitas17/cat-css-art-28nm</link>
      <guid>https://dev.to/amberitas17/cat-css-art-28nm</guid>
      <description>&lt;p&gt;I practiced a cat css art and followed something on youtube&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/amberitas17/embed/dyGLPvy?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>codepen</category>
      <category>css</category>
    </item>
  </channel>
</rss>
