1. READ the values of 3 numbers A, B and C
2. IF the value of A>that of B THEN
GOTO step 3
ELSE
GOTO step 4
ENDIF
3. IF the value of A>that of C THEN
PRINT "The maximum value is that of A"
GOTO step 5
ELSE
GOTO step 4
ENDIF
4. IF the value of B>that of C THEN
PRINT "The maximum value is that of B"
GOTO step 5
ELSE
PRINT "The maximum value is that of C"
GOTO step 5
ENDIF
5. STOP processing
begin,
numeric: num 1, num 2, num 3.
accept: num 1, num 2, num 3.
case 1,
if, num 1 > num 2 and num 1 > num 3
display num 1 is greater.
break.
case 2,
if, num 2 >num 3 and num2 > num 1
display num 2 is greater.
break
els,,
num 3 is greater.
end.
you can also have the complete code here http://techtutorz.blogspot.in/2014/04/code-to-find-greatest-number-from-user.html
num1% = 0
num2% = 0
num3% = 0
highestNum% = 0
CLS
PRINT "PROGRAM: Find the highest number"
INPUT "Enter the first number: ", num1%
highestNum% = num1%
INPUT "Enter the second number: ", num2%
IF num2% > highestNum% THEN highestNum% = num2%
INPUT "Enter the third number: ", num3%
IF num3% > highestNum% THEN highestNum% = num3%
PRINT "The largest number you entered was: "; highestNum%
END
The 'c' program to input three numbers and display the maximum number is
#include<stdio.h>
#include<conio.h>
void main()
{;
int a,b,c;
clrscr();
printf("enter the value for a,b & c\n");
scanf("%d%d%d",&a,&b,&c);
if(a>b&&a>c)
printf("\na is the maximum number");
else if(b>a&&b>c)
printf("\nb is the maximum number");
else
printf("\nc is the maximum number");
getch();
}
draw a flowchart to find the biggest number among the 3 numbers
Or even three. Actually, pseudo-code has no rules.
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.
(defun max3 (a b c) (cond ((> a b) (cond ((> a c) a) (t c))) ((> b c) b) (t c) ) )
How wood you write in numbers three thousand three hundred sixty-nine
Find your own answers....sucks mahn
3000
3,000,000,000,000
303.02
The correct way to write it in numbers is: 5,008,023.
If you have 3 modes, write down the three as your answer. If the mode has two numbers, just write one of the numbers down.Repeat on the other two modes.
603
3001
13.03
6.03
300,000,000