Shell

Shell script to print Fibonacci series with Algorithm

Problem Statement: Write a shell script to print Fibonacci series Algorithm:   Here we are giving only the upper limit of the wanted Fibonacci series, by the program default the lower limit is zero. INPUT: n [upper limit] OUTPUT: Fibonacci series [up to n] Step 01:           StartStep 02:           read nStep 03:           a ß 0Step 04:           …

Shell script to print Fibonacci series with Algorithm Read More »

Shell script to check an input number is palindrome or not palindrome : Solved with Algorithm

Problem Statement Write a shell script to check a number palindrome or not Algorithm Step 1 : Start Step 2 : Display “Enter a Number” Step 3 : read n Step 4 : temp ← n Step 5 : Repeat step 6 to 9 While temp> 0 Step 6 : ans ← ans*10 Step 7 …

Shell script to check an input number is palindrome or not palindrome : Solved with Algorithm Read More »