Write down a small basic program to input three numbers display the greatest one?
Answers
Answered by
6
Answer:
' Biggest & Smallest
'==============
TextWindow.Title= "Biggest & Smallest Outta 3 Numbers
ESC= Text.GetCharacter(27) ' ASCII code for "Esc" key
LF= Text.GetCharacter(10) ' Jumps 1 line (Line Feed)
'Section 1
'Recieves input for 3 numbers:
Start:
TextWindow.Clear()
TextWindow.ForegroundColor= "Red
TextWindow.WriteLine ("Type in 3 numbers confirming each one with key:" + LF)
TextWindow.ForegroundColor= "Blue
For index= 1 To 3
TextWindow.Write ("Number " + index + ": ")
number[index]= TextWindow.ReadNumber() * 1
EndFor
____________________________________☆
Similar questions