Question: linux Exercise: write a shell program to generate fibonacci scries. Step 1 : Initialise a to 0 and b to 1. Step 2: Print the
Exercise: write a shell program to generate fibonacci scries. Step 1 : Initialise a to 0 and b to 1. Step 2: Print the values of 'a' and 'b'. Step 3 : Add the values of 'a' and 'b'. Store the added value in variable 'c'. Step 4: Print the value of 'c! Step 5: Initialise 'a' to 'b' and 'b' to 'c'. Step 6: Repeat the steps 3,4,5 till the value of 'a' is less than 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
