answersLogoWhite

0

echo "enter the 3 numbers"

read a b c

if [ $a -gt $b ]&&[ $a -gt $c ]

then

echo "$a is big"

elif [ $b -gt $c]

then

echo "$b is big"

else

echo "$c is big"

fi

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Shell program for gcd of three given numbers?

write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html


What if two numbers are equal in finding greatest of three numbers?

Then you have a tie, for either first place or last place.


What is the greatest common factor of 48 54 and 84?

Oh, what a happy little math question we have here! To find the greatest common factor of 48, 54, and 84, we look for the largest number that can evenly divide all three numbers. The greatest common factor of these numbers is 6. Just like painting a beautiful landscape, finding the greatest common factor is about finding harmony and balance in numbers.


What three numbers have a greatest common factor?

Any three.


Program to print greatest of three numbers?

#include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf("enter the three numbers: "); scanf(%d%d%d:,&a&b&c); if(a>b | a>c) { printf("the greatest no: is %d",a); } if(b>c) { printf("the greatest no: is %d",b); } else { printf("the greatest no: is %d",c); } getch(); }


What is the sum of the three greatest prime numbers that are less than 39?

The sum of the three greatest prime numbers that are less than 39 is 97.


Find the three numbers whose greatest common factor of three numbers is 9 and the sum of the numbers is 90?

63, 18 and 9


What are the three methods for finding the gcf of 10?

You need at least two numbers to find a GCF.


Name the greatest common factor of the following numbers three and 37?

The greatest common factor for the numbers 3 and 37 is 1.


What is the greatest three digit even numbers?

The answer is 998.


What 2 numbers are the GCF of one?

The numbers three and five have the greatest common factor of one.


What three numbers share the greatest common factor of 4?

4,8,12