Search Results

Search: Posts Made By: moonlips
2,661
Posted By moonlips
how is it wrong?!! Oh god i am really going mad...
how is it wrong?!!
Oh god i am really going mad out of this script..

My mind jammed :wall:
2,661
Posted By moonlips
I want the prime numbers from the fib.series...
I want the prime numbers from the fib.series number which the user enter as input!!

---------- Post updated at 08:12 PM ---------- Previous update was at 07:26 PM ----------




I want to...
2,661
Posted By moonlips
echo "enter a number " read n z=0 a=0 ...
echo "enter a number "
read n
z=0
a=0
fib=0
b=1
echo " fibancci series is "
while [ $z -le $n ]
do
fib=`expr $a + $b`
a=$b
b=$fib
x="true"
m=$fib
for((y=$m-1;y>=2;y--))
do
if [ `expr...
2,661
Posted By moonlips
I tried to fix it but still couldnt find it ...
I tried to fix it but still couldnt find it :wall: .. Can u help me please??!!

Its assignment given by teacher

Thanks
2,661
Posted By moonlips
question on shell script
hiiiiiiiiiiiii,,I found an error on my following script but couldnt find it!!! Can you please help me as soon as possible?!

echo "enter a number "
read n
i=0
first=0
second=1
result=0...
1,898
Posted By moonlips
Question on shell script
Hiiiiiiiiiiiii all,

Please i want your help fast, the teacher gave us this assignment can u help me to write it?

this is the question:

Write a shell script to point all prime numbers from...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 03:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy