【正文】
on swap to exchange the values of two variables outside the function 25 Assignment 7 ? Input n from the keyboard ? Input n numbers from the keyboard and store them to a dynamically allocated array ? Sort these numbers using any of the sorting algorithms ? Output the sorted numbers to the screen ? Finally, output these sorted numbers to a file named “” 26 Assignment 8 ? Input n from the keyboard ? Input n students39。 ?Define a function void sort(int s[], int n) to sort these integers in the array。 ? Please write your program carefully and independently. 2 Programming Environment 3 Assignment 1 ? Write a program to show the following sentences: ?I am a student. ?I love China. 4 Assignment 1 ? Write a program to show the following figure: 5 Assignment 1 ? Given the values of three variables a = 2, b = 4, c = 7, write a program to ?calculate the sum of a, b and c。 ? Some assignments will be graded。 ? Please be sure to get in the lab on time。 Lab Programming Syllabus Highlevel Language Programming I Chunhua Pan Lab Schedule and Policy ? Every Wednesday or by appointment。 ? Totally 24 hours, 2 hours per week。 ? Assignment will be sho