a) Create a Birthday Reminder program that keeps track of birthdays for all of your friends....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
a) Create a Birthday Reminder program that keeps track of birthdays for all of your friends. You must allow the user the ability to add data for a new friend or modify the data for an existing friend. Additional Requirements: 1) Create a struct for Date that stores entries for month, day, and year. 2) Create a struct for Friend that stores entries for firstName, nickname, and birthdate (type Date created in #1) 3) Your program should have the ability to add or modify the data for twenty friends. (Hint: Create an array of friends) 4) Your program should have the ability to print out the data for all of the current friends. a) Create a Birthday Reminder program that keeps track of birthdays for all of your friends. You must allow the user the ability to add data for a new friend or modify the data for an existing friend. Additional Requirements: 1) Create a struct for Date that stores entries for month, day, and year. 2) Create a struct for Friend that stores entries for firstName, nickname, and birthdate (type Date created in #1) 3) Your program should have the ability to add or modify the data for twenty friends. (Hint: Create an array of friends) 4) Your program should have the ability to print out the data for all of the current friends.
Expert Answer:
Answer rating: 100% (QA)
Create a struct for Date that stores entries for month day and year Python class Date def initself month day year selfmonth month selfday day selfyear year Create a struct for Friend that stores entri... View the full answer
Related Book For
Database Systems Design Implementation And Management
ISBN: 9780357673034
14th Edition
Authors: Carlos Coronel, Steven Morris
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
In this programming assignment you will practice using ArrayLists, Inheritance and Polymorphism. You are to write a game called Magical Creatures War. You will do this by implementing a class called...
-
You are the VP of Human Resources for a company with 250 employees. You have both outside sales representatives and inside sales representatives that work primarily by phone. James is an outside...
-
The probability that a customers order is not shipped on time is 0.05. A particular customer places three orders, and the orders are placed far enough apart in time that they can be considered to be...
-
Analyze each of the following reports, explaining the ways in which the method of difference has been applied in the investigations recounted. Discuss the strengths and weaknesses of the method of...
-
Figure Q25.29 shows a triangular loop of wire in a uniform magnetic field. If the field strength changes from 0.30 to \(0.10 \mathrm{~T}\) in \(50 \mathrm{~ms}\), what is the induced emf in the loop?...
-
Sapporo K.K. was sued by a competitor in late 2017, and company management concluded that there was a 55 percent probability that the company would lose the lawsuit. The best estimate of the loss on...
-
What are the 3 basic principles in community health nursing?"
-
The lifetime (in months) of a battery is modeled by a random variable X that has pdf f ( x ) = K x 1 ( x > 0 ) where K = ln ( 1 / ) for an unknown parameter ( 0 , 1 ) . (Here 1 ( x > 0 )...
-
[Q: 21-6657664] Real Options with the Binomial Model. A construction company owns the right to build an office building in downtown Sacramento over the next year. The building would cost $44 million...
-
1. (a) Suppose a List list1 has elements "A", "B", "C", and "D". What is returned by: 1. list1.iterator () .next(); 2. list1.listIterator 3. list1.listIterator 4. list1.listIterator (4).previous();...
-
1. Create a function to accept a student ssn as parameter and return the number of course sections the student registered. Create table Student ( ssn numeric primary key, name char(50), address...
-
a) i) Write a function called Division that accepts two arguments namely intA and decB, and the function returns a result in Decimal data type. intA is divided by decB and the result is stored to...
-
What is the proper way to prepare for investigations? What should be considered when undertaking an investigation? Review concepts of gap analysis and effectiveness evaluation. What aspects would an...
-
describe Thayer's concept of denial/mystification--and why this is so compelling for us.
-
Use the following information to answer this question: Windswept, Incorporated 2021 Income Statement ($ in millions) Net sales $ 10,350 Cost of goods sold Depreciation Earnings before interest and...
-
Digital Fruit is financed solely by common stock and has outstanding 25 million shares with a market price of $10 a share. It now announces that it intends to issue $160 million of debt and to use...
-
Write a query that displays the first and last name of every patron, sorted by last name and then first name. Ensure the sort is case insensitive (Figure P7.57). Figure P7.57 All Patron Names PAT...
-
What index would you recommend, and what command would you use?
-
Write the relational algebra formula to apply a UNION relational operator to the tables shown in Figure Q3.13. Figure Q3.13: Database name: Ch03_VendingCo Table name: MACHINE MACHINE_PRODUCT...
-
True or False: Annual worth analysis is the most popular DCF measure of economic worth.
-
Consider a palletizer at a bottling plant that has a first cost of \($150,000,\) operating and maintenance costs of \($17,500\) per year, and an estimated net salvage value of \($25,000\) at the end...
-
True or False: Unless non-monetary considerations dictate otherwise, choose the mutually exclusive investment alternative that has the greatest annual worth over the planning horizon.
Study smarter with the SolutionInn App