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

linux linux Exercise: write a shell program to generate fibonacci scries. Step 1

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!