Want this question answered?
$vi sum.sh echo "enter the 1st no." read num1 echo "enter the 2nd no." read num2 sum= 'expr $num1 + $num2' echo "sum of the numbers is $sum"
echo "enter the number" if [ $# -ne 1 ] then echo "Usage: $0 number" echo " I will find reverse of given number" echo " For eg. $0 12321, I will print 12321" exit 1 fi n=$1 rev=0 sd=0 while [ $n -gt 0 ] do sd=`expr $n % 10` rev=`expr $rev \* 10 + $sd` n=`expr $n / 10` done echo "Reverse number is $rev"
i=2 rem=1 echo "Enter a number" read num if [ $num -lt 2 ] then echo "$num is not prime" exit 0 fi while [ $i -le `expr $num / 2` -a $rem -ne 0 ] do rem=`expr $num % $i` i=`expr $i + 1` done if [ $rem -ne 0 ] then echo "$num is prime" else echo "$num is not prime" fi
Echo Point ended on 1995-12-01.
echo enter a range read rng echo 2 j=3 while test $j -le $rng do i=2 x=`expr $j - 1` while test $i -le $x do if [ `expr $j % $i` -ne 0 ] then i=`expr $i + 1` else break fi done if [ $i -eq $j ] then echo $j fi j=`expr $j + 1` done
Echo is a program. '' is not a program. '' does not perform any action. Echo returns what you type. '' does not.
mthn
input="yes" while [[ $input = "yes" ]] do echo "------------" echo "Calculator" echo "------------" PS3="Press 1 for Addition, 2 for subtraction, 3 for multiplication and 4 for division: " select math in Addition Subtraction Multiplication Division do case "$math" in Addition) echo "Enter first no:" read num1 echo "Enter second no:" read num2 result=<code>expr $num1 + $num2</code> echo Answer: $result break ;; Subtraction) echo "Enter first no:" read num1 echo "Enter second no:" read num2 result=<code>expr $num1 - $num2</code> echo Answer: $result break ;; Multiplication) echo "Enter first no:" read num1 echo "Enter second no:" read num2 result=<code>expr $num1 \* $num2</code> echo Answer: $result break ;; Division) echo "Enter first no:" read num1 echo "Enter second no:" read num2 result=$(expr "scale=2; $num1/$num2" | bc) echo Answer = $result break ;; *) echo Choose 1 to 4 only!!!! break ;; esac done echo "Do you want to calculate again(yes/no):" read input echo "Thank you for using this program" done
there is no code you must defeat mini echo echo in genius grove
Code Below: <?php $j = 100; // Set limit upper limit echo "Even Numbers are: <br/>"; for($i=1;$i<=$j;$i++) { if($i%2) { continue; } else { echo $i."<br/>"; } } ?>
"echo"Phonetic alphabet...AlphaBravoCharlieDeltaEchoFoxtrotGolfHotelIndiaJulietteKilo.... etc.
echo.
Echo
echo.
This is a basic antivirus code that i made and use on my computer (besides Norton) @echo off title Antivirus echo Created By Your Name pause IF EXIST virus.bat delete virus.bat echo Antivirus Has Secured Your Computer IF NOT EXIST virus.bat echo Computer Is Already Secure end This program follows a fairly simple algorithm. First it finds certain strings of code in a file that determines if it is a virus. If it is, then it deletes it and creates a message in the window saying your computer is secure. If no virus exists, the program says your computer is already secure and then ends its function. If you want to make this program never stop scanning, replace the end at the end of the code, and put loop in its place. If you did this, type exit at the end of the code. Loop makes the program constantly scan without ending ever. This is not the strongest antivirus I've made, but it is still effective. This program can only detect viruses and nothing else. If your computer has a trojan on it or something else, this program can't detect it. Highlight the code, click Copy, open up Notepad, right click, and select Paste, and then Save As Antivirus.bat and then send it to your Desktop.
echo's safe is gone but the code was legoworld09
The answer is echo