---
# System prepended metadata

title: MY WEEK THREE(3) IN THE JOURNEY OF MY SOFTWARE ENGINEERING WITH BLOCKFUSE LABS SO FAR

---

# MY WEEK THREE(3) IN THE JOURNEY OF MY SOFTWARE ENGINEERING WITH BLOCKFUSE LABS SO FAR
this week has been the though week i first encounter at blockfuse labs. we have dive deep into shell scripting this week which i actually learn and suffer alot with error in my class work and assignment which am still suffering from one now. this are some of what i learn:
##### 1. variables
we said variables let you store data. you can use variable to read access and manuplate data throughout your script.
in bash, you can use and set variable values in the following way:
>variable=value
##### 2. Logic 101
* = means assignment operator
* == means equality operator
* , > or -gt means greater than
* < or -lt means less than
* ! means not
* != means not equal to
* || or -o means OR
* && or -a means AND
and lot more...
##### 3. we where though about truth table too 

| OR    |       | output |
| ----- | ----- | ------ |
| false | false | false  |
| false | true  |  true  |
|true   | false | true   |
|true   | true  | true   |



| AND |  | output |
| -------- | -------- | -------- |
| false    | false    | false    |
| false    | true     | false    |
|true      | false    | false    |
| true     | true     | true     |

##### Condition statement (if/else)
Expression that produce boolean result, eather true or false, are call conditions
>syntex:
>
>if [[condition]]; then
>    statement
>elif [[condition]]; then
>    statement
>else
>    do this by default
>fi

we can use logical operators such as AND -a and OR  -o to make comparisons that have more significant

##### Looping in bash
we have the while loop and the for loop

>while loop check for the condition and loop untill the condition remain true

>For loop just like the while loop, allow you to execute statement a specific number of time. Each loop have it syntex and usege but the for loop is more stright forward than the while loop

##### Engine logic
this was given to us as an assignment from our instructor which am currently trying my possible best on it thier are so many error coming my way but am trying to over come that. wait for my next update with [BLOCKFUSE LABS].....



# NEVER SETTLE