Sonja is writing a program to compare two numbers and print the larger number. Which of these should be used?

(1 point)

while loop

if and else

Oil, elit, and else

string vanable

1 answer

if and else