Program:
1. Write a program that uses a function for swapping a two numbers. Note: The program requires the user to enter the numbers via the keyboard
2. Write a program that uses a function to determine and display whether a number is odd or even. Note: The program requires the user to enter the number via the keyboar.
3. Write a program that gets 10 float numbers then passes them to a function. The function should calculate the average and return the average to the main function to be displayed.
4. Write a program that get a number and calculate the factorial by using a function.
5. Write a program that gets the quadratic equation coefficient (a,b,c) and then passes them to a function. The function solves the quadratic equation (ax2+bx+c=0) and displays the amount xl and x2.
6. Write a program that gets 10 numbers and stores then in an array. Then sort (low to high) the number using a function.
Note: The program requires ask user for continuing for getting next 5 numbers.
7. Write a program that will count from Ito 100 and print the count, and its square, for each count.
1 1
2 4
3 9
etc..