write a basic 256 programthat inputs three numbers and displays the smallest number
Answers
Answered by
1
Answer:
I did not understand your question
Explanation:
.
Answered by
2
Program:
Dim x As Integer
Dim y As Integer
Dim z As Integer
Cls
Input "Enter first number : ", x
Input "Enter second number : ", y
Input "Enter third number : ", z
If x < y And x < z Then
Print x; "is the smallest"
ElseIf y < x And y < z Then
Print y; "is the smllest"
Else
Print z; "is the smallest"
End If
End
Output:
Enter first number : 34
Enter second number : 55
Enter third number : 23
23 is the smallest
Similar questions