<?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: Steve Tomi</title>
    <description>The latest articles on DEV Community by Steve Tomi (@steffqing).</description>
    <link>https://dev.to/steffqing</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%2F691406%2Fb2a508e7-0411-4e3d-a810-449c8e928028.png</url>
      <title>DEV Community: Steve Tomi</title>
      <link>https://dev.to/steffqing</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/steffqing"/>
    <language>en</language>
    <item>
      <title>I am stuck</title>
      <dc:creator>Steve Tomi</dc:creator>
      <pubDate>Sat, 23 Apr 2022 19:01:11 +0000</pubDate>
      <link>https://dev.to/steffqing/i-am-stuck-1fm</link>
      <guid>https://dev.to/steffqing/i-am-stuck-1fm</guid>
      <description>&lt;p&gt;text = input()&lt;br&gt;
word = input()&lt;br&gt;
print (word)&lt;br&gt;
words = word.split()&lt;br&gt;
print (text)&lt;br&gt;
print (words)&lt;br&gt;
if text in words:&lt;br&gt;
   print("Word found")&lt;br&gt;
else:&lt;br&gt;
   print("Word not found")&lt;/p&gt;

&lt;p&gt;I can't find what I am doing wrong on this code&lt;br&gt;
It doesn't print Word found, so I debugged using the print statement to see what the variable "words" print, at first, it works fine, then it doesn't. Please assist me &lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>help</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>A Noobs question</title>
      <dc:creator>Steve Tomi</dc:creator>
      <pubDate>Tue, 22 Mar 2022 00:14:11 +0000</pubDate>
      <link>https://dev.to/steffqing/a-noobs-question-3gbh</link>
      <guid>https://dev.to/steffqing/a-noobs-question-3gbh</guid>
      <description>&lt;p&gt;As I am made to understand, a For loop continues to run until it's condition turns false&lt;/p&gt;

&lt;p&gt;Now am faced with an Array on which I want to perform a linear search on&lt;/p&gt;

&lt;p&gt;int numbers[] = {2, 3, 7, 9, 1, 0, 5};&lt;/p&gt;

&lt;p&gt;For (int i = 0; i &amp;lt; 7; i++)&lt;br&gt;
    {&lt;br&gt;
       if (numbers [i] == 7)&lt;br&gt;
         {&lt;br&gt;
           printf ("Found");&lt;br&gt;
           return 0;&lt;br&gt;
         }&lt;br&gt;
    }&lt;br&gt;
printf ("Not Found");&lt;br&gt;
return 1;&lt;/p&gt;

&lt;p&gt;As I get to understand how the code works, it brought up a question&lt;/p&gt;

&lt;p&gt;If 7 is found in the third iteration, will the For loop continue to run until the condition turns false, or it will stop when it sees a return value of 0&lt;br&gt;
I ask this so I can be able to better place the second printf function&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>c</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>I need help in understanding a portion in functions</title>
      <dc:creator>Steve Tomi</dc:creator>
      <pubDate>Sun, 27 Feb 2022 00:17:35 +0000</pubDate>
      <link>https://dev.to/steffqing/i-need-help-in-understanding-a-portion-in-functions-bj7</link>
      <guid>https://dev.to/steffqing/i-need-help-in-understanding-a-portion-in-functions-bj7</guid>
      <description>&lt;p&gt;I am an Animal Science student and started venturing into programming&lt;br&gt;
I decided to learn C as my first programming language because am interested in mechanized agriculture using drones and other automatic machines (I am probably wrong for doing this according to people) but am very much interested in finishing what I've started&lt;br&gt;
Currently, am stuck in where seems to be pretty easy and straightforward; Functions&lt;br&gt;
&lt;strong&gt;I am stuck at understanding functions: how variables from the main function are assigned to the parameters of a called function, then assigned into the variables in the function itself&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I don't know if my question is reasonable enough. It's hard for me to even understand what am asking but I hope if you do, you can help me with some explanations&lt;/p&gt;

</description>
      <category>c</category>
      <category>functions</category>
      <category>variables</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
