Write a function to input two different numbers and find the greatest number.
1 Answer
DECLARE FUNCTION GRT (X, Y)
CLS
INPUT "ENTER TWO NUMBERS:"; X, Y
PRINT "THE GREATEST NUMBER:"; GRT (X, Y)
END
FUNCTION GRT (X, Y)
IF X > Y THEN G = X ELSE G = Y
GRT = G
END FUNCTION
-
Who is a system analyst? What are the characteristics of system analysts? 1
-
What are the different stages of the system development life cycle (SDLC) 1
-
What do you understand about AI? What are the negative and positive aspects of AI in society? 1
-
How does an AI application work? Can a computer really think with the aid of AI? 1