Question
Background - Create the following structures (Written in C++) a. timeOfDay i.Hour short ii. Minute short iii. Second short b. appDate i. dayOfMonth short ii.
Background - Create the following structures (Written in C++)
a. timeOfDay
i.Hour short
ii. Minute short
iii. Second short
b. appDate
i. dayOfMonth short
ii. month short
iii. year int
c. event
i. eventName String
ii. eventTime timeOfDay
iii. eventDate appDate
iv. isUrgent bool
Task 1 - Write a pseudocode description and a flowchart for the task in line 2.
Task 1 Write Program 1 : Write a program that will create an event structure and initializes all of its fields with data. Dates and times do not need to be current but need to be valid date and times.
Task 2 Write Program 2 : Using program1 as a guide, develop separate functions for each structure that will display the values in the structure . Then develop an additional function will display all the values for each entity in the event structure using the results from the separate functions. Run the program with a populated structure and display the results.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started