2. Write a QBASIC program to find the greatest
between two numbers and write the algorithm also.
Answers
Answered by
0
Answer:
sorry friend I can't understand the question
Answered by
0
Answer:
Syntax will change depending on what language you’re using. But something to the extent of
int a = 1;
int b = 2;
int small;
if (a < b){
small = a; }
else if (b < a){
small = b; }
You could do just an else on the second part, but that would do if b < a or if b = a, which of course is not less than.
Explanation:
Similar questions