necesito de su ayuda
para realizar estos ejercicios
Excercises
1) Write a program that asks the user to input an integer, and then calls a function named multiplication Table(), which displays the results of multiplying the integer by each of the numbers 2 through10.
2) Complete the followings tasks:
Add instructions to the increaseDay() function so that when the month becomes more than 12, the years increases by 1, and the month is set to 1. Write a main () function that declares a Date to 12/29/2003 and display the object. In a loop, call the increaseDay() function five times, displaying each version of the Date as soon as it is increased.
3) Write the class definition for a date class that contains three integer data members: month, day, and year. Include a constructor that assigns the date 1/1/2000 to any new object that does not receive arguments. Also include a function that displays the Date object. Write a main () program in which you instantiate two Date objects--one that you create using the default constructor values, and one that you create using three arguments--and display its values.
4) Create a Book class that contains fields for title, authors name, and price of the Book. Create an Author class with fields for name, street address, and royalty rate as a percentage. Each class contains a function to set the field values. Use a friend function to display a Books title, authors address, price of the Book, and royalty amount per book. Write a demostration program that shows that the class as and function work correctly.
5) Write a program that allows the user to enter seven double values representing store sales for each day of the week. After all seven values are entered, display the value of the largest sale day.
Excercises
1) Write a program that asks the user to input an integer, and then calls a function named multiplication Table(), which displays the results of multiplying the integer by each of the numbers 2 through10.
2) Complete the followings tasks:
Add instructions to the increaseDay() function so that when the month becomes more than 12, the years increases by 1, and the month is set to 1. Write a main () function that declares a Date to 12/29/2003 and display the object. In a loop, call the increaseDay() function five times, displaying each version of the Date as soon as it is increased.
3) Write the class definition for a date class that contains three integer data members: month, day, and year. Include a constructor that assigns the date 1/1/2000 to any new object that does not receive arguments. Also include a function that displays the Date object. Write a main () program in which you instantiate two Date objects--one that you create using the default constructor values, and one that you create using three arguments--and display its values.
4) Create a Book class that contains fields for title, authors name, and price of the Book. Create an Author class with fields for name, street address, and royalty rate as a percentage. Each class contains a function to set the field values. Use a friend function to display a Books title, authors address, price of the Book, and royalty amount per book. Write a demostration program that shows that the class as and function work correctly.
5) Write a program that allows the user to enter seven double values representing store sales for each day of the week. After all seven values are entered, display the value of the largest sale day.
