Consider the following program(s). The two programs do exactly the same thing, one in C and one in ava. blic class HelloWorld( public static void main(String int main) args) f int
<p><img alt="2 int-string input (Please enter an integer: .) If Statements Using Elif and Else In the previous question, we used an if statement that contained an else branch. Sometimes,
you to evaluate the four sorting algorithm on various inputsand relate their theoretical run time to their empirical (actual)behavior. These algorithms are SelectionSort, Insertion- Sort,MergeSort, and QuickSort. In the interests
<p>write a sage program for:</p><p><img alt="3. (a) If a and b are randomly chosen from the interval |-1,1], what is the probability S1? Draw a picture and answer that the