Question #258655

 Construct an algorithm that will input values for A and B. Compare the two values inputted and print which of the values is higher including the remark “Higher”.


Expert's answer

1 Prompt for value A
2 Read value A
3 Prompt for value B
4 Read value B
5 Set Higher to A
6 If B > A then set Higher to B
7 Print string "Higher: "
8 Print value of Higher

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS