Project Descriptions **Project 1**
This project is intended to teach the following:
how to use the J2SDK to compile and run a Java program
how to input and output data from a program
how to do a simple calculation in a program
In this project, you will determine the number of MP3 songs that you can put on your portable MP3 player or IPod. The average MP3 song at 256KBPs sample rate takes 8.75 Mbytes of storage. This is the minimum quality MP3 that your friends will even listen to. To perform this computation, you should prompt the user to enter the size of your MP3 player in megabytes.. Your program will divide this number by 8.75 which will give the approximate number of songs that can be stored in your MP3 player. Your program should then print out the size of your MP3 player (the number you input) in megabytes and the number of songs to expect to be stored. An example of running this program is as follows:
Enter the size of the MP3 player in megabytes: 64
A 64.0 megabyte MP3 player should store 7.31 songs.
No one will store a fraction of a song, and the output for this program might have been 7.31428. In addition, 64 megabytes is not actually 64,000,000 but a little more. Do not worry about these issues. Just divide the number input by 8.75 and print the result. It is acceptable for this program to print out more than twodecimal places.
## Deliverables
02/26/06
## Platform
window xp