Question: Programming Exercises 163 9. Ocean Levels Assuming the ocean's level is currently rising at about 1.6 millimeters per year, create an application that displays the
Programming Exercises 163 9. Ocean Levels Assuming the ocean's level is currently rising at about 1.6 millimeters per year, create an application that displays the number of millimeters that the ocean will have risen each year for the next 25 years 10. Tuition Increase At one college, the tuition for a full-time student is $8,000 per semester. It has been announced that the tuition will increase by 3 percent each year for the next 5 years. Write a program with a loop that displays the projected semester tuition amount for the next 5 years. 11. Calculating the Factorial of a Number In mathematics, the notation n! represents the factorial of the nonnegative integer n. The factorial of n is the product of all the nonnegative integers from 1 to n. For example, 1 x2x3x4x5x6x7-5,040 and 4-1x 2 x 3 x 4 24 Write a program that lets the user enter a nonnegative integer and then uses a loop to cal- culate the factorial of that number. Display the factorial. Write a program that predicts the approximate size of a population of organisms. The application should use text boxes to allow the user to enter the starting number of organ- isms, the average daily population increase (as a percentage), and the number of days the organisms will be left to multiply. For example, assume the user enters the following values: Starting number of organisms: 2 Average daily increase: 30% Number of days to multiply: 10 The program should display the following table of data: Day ApproximatePopulation 2.6 3.38 4.394 5.7122 7.42586 9.653619 12.5497 16.31462 21.209 Using 1python SI 7 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
