Eastern Michigan University C++ Arrays and Pointers Project
Question Description
Hello, please answer the below questions. I am looking for someone to start full time help so if you answer the qestions well I will become a regular! I will tip well for an A+ job!
1) Write a program that uses the MovieData class you defined in 7.8a. The program prompts “movie information: “ and then reads the title, director, release year and running-time, each typed on a line by itself. The program then creates a MovieData object and uses the object to print the movie information.
Here is one sample run:
movie information: CasablancaMichael Curtiz1942102Casablanca (1942). Directed by Michael Curtiz. (102 minutes)
Note: Do not define the class here just write the program that uses it.
2) Write a program that uses the Date class you defined in 7.1a. The program prompts “date information: “ and then reads three integers: the date, the month and the year. The program then prints the date three times, each time on a line by itself. The first time the date is in numerical format, the second in month-first format, and the third time in date first format.
Here is one sample run:
date information: 15 3 20143/15/2014March 15, 201415 March 2014
Note: Do not define the class here just write the program that uses it.
3) Rainfall Statistics
Write a program that lets the user enter the total rainfall for each of 12 months (starting with January) into an array of doubles. The program should calculate and display (in this order):
the total rainfall for the year,
the average monthly rainfall,
and the months with the highest and lowest amounts.
Months should be expressed as English names for months in the Gregorian calendar, i.e.: January, February, March, April, May, June, July, August, September, October, November, December.
Input Validation: Do not accept negative numbers for monthly rainfall figures. When a negative value is entered, the program outputs “invalid data (negative rainfall) retry” and attempts to reread the value.
NOTE: Decimal values should be displayed using defaultprecision, i.e. do not specify precision.
4) Monkey Business
A local zoo wants to keep track of how many pounds of food each of its three monkeys eats each day during a typical week. Write a program that stores this information in a two-dimensional 3 Ã 7 array, where each row represents a different monkey and each column represents a different day of the week. The monkeys are represented by integers 1, 2, and 3; the weekdays are “Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”. The program should first prompt the user to input the data for each monkey, starting with “Sunday” for monkey #1, then monkeys #2 and #3, followed by “Monday” for monkey #1, then monkeys #2 and #3 and so on, through “Saturday”. The program then creates a report that includes the following information, each properly labeled (see below):
Average amount of food eaten per day by the whole family of monkeys.
The least amount of food eaten during the week by any one monkey.
The greatest amount of food eaten during the week by any one monkey.
Input Validation: Do not accept negative numbers for pounds of food eaten. When a negative value is entered, the program outputs “invalid (negative) food quantity re-enter” and attempts to reread the value.
NOTE: Decimal values should be displayed using defaultprecision, i.e. do not specify precision.
5) Monkey Business
A local zoo wants to keep track of how many pounds of food each of its three monkeys eats each day during a typical week. Write a program that stores this information in a two-dimensional 3 Ã 7 array, where each row represents a different monkey and each column represents a different day of the week. The monkeys are represented by integers 1, 2, and 3; the weekdays are “Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”. The program should first prompt the user to input the data for each monkey, starting with “Sunday” for monkey #1, then monkeys #2 and #3, followed by “Monday” for monkey #1, then monkeys #2 and #3 and so on, through “Saturday”. The program then creates a report that includes the following information, each properly labeled (see below):
Average amount of food eaten per day by the whole family of monkeys.
The least amount of food eaten during the week by any one monkey.
The greatest amount of food eaten during the week by any one monkey.
Input Validation:
Do not accept negative numbers for pounds of food eaten. When a negative value is entered, the program outputs “invalid (negative) food quantity re-enter” and attempts to reread the value.
Prompts And Output Labels:
Decimal values should be displayed using defaultprecision, i.e. do not specify precision.
Each item read should be prompted for by a stringof the form “Enter the food eaten by monkey #N on DAY
Eastern Michigan University C++ Arrays and Pointers Project
Our Service Charter
1. Professional & Expert Writers: Homework Discussion only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.
2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.
3. Plagiarism-Free Papers: All papers provided by Homework Discussion are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.
4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Homework Discussion is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.
5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.
6. 24/7 Customer Support: At Homework Discussion, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.