#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();
}
Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end
start input A & B if A>B print A is greatest if B>A print B is greatest stop james ola writes.....SOT.
identification division. program-id. greatest. environment division. data division. working-storage section. 77 a pic 999. 77 b pic 999. 77 c pic 999. procedure division. greatest. display "ENTER THE THREE NUMBERS:". accept a. accept b. accept c. if a > b and a > c display a "is greatest" else if b > c display b "is greatest" else display c "is greatest". display " thank you". stop run.
design a flowchart that will input three numbers and get their sum. If the sum is greater than 20, then print "sum>20",else print the sum.
draw a flowchart to find the biggest number among the 3 numbers
# include<stdio.h> main() { int a,b,c; print f("enter the values of a,b,c"); scan f("%d%d%d",&a,&b,&c); if((a>b)&&(a>c)) print f("Greatest value is a =%d",a); else if((b>a)&&(b>c)) print f("Greatest value is b=%d",b); else print f("Greatest value is c=%d",c); }
Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end
Any three.
start input A & B if A>B print A is greatest if B>A print B is greatest stop james ola writes.....SOT.
The sum of the three greatest prime numbers that are less than 39 is 97.
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
63, 18 and 9
The greatest common factor for the numbers 3 and 37 is 1.
N = x If y < N then N = Y If z < N then N = z Print N
The answer is 998.
The numbers three and five have the greatest common factor of one.
4,8,12