killer-curry
Oro.........?
- 2,521
- Posts
- 8
- Years
- Age 25
- Malaysia
- Seen Feb 26, 2021
Oh yeah, I'm taking Programming Concept for next semester but I'm not sure how to start with, any good guide for simple tutorial to try out?
Any idea what coding language/s you will be covering?..
Honestly I think you would be fine picking it up as you go in class.
But if you have some time and want to get a head start sites like w3schools have great easy to follow tutorials. I'd suggest working your way through them. Will probably help you alot if you have not done any programming language before. Also https://www.cprogramming.com/tutorial.html looks good too. Work through tutorials and don't forget google is your best friend.
<?php echo "Hello World"?>
$values = array("banana","apple","orange");
$pizza = "pizza";
$apple = "apple";
function InArray($values,$toFind)
{
$i = 0;
echo "<br>Searching for $toFind...<br><br>";
foreach($values as $value)
{
$i++;
if($value == $toFind)
{
echo "$value found at index[$i]<br> ";
}
else
{
echo "Value not found...<br>";
}
}
}
InArray($values,$pizza);
InArray($values,$apple);