Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB.NET Databases

Authors: Thearon Willis

1st Edition

1594864217, 978-1594864216

More Books

Students also viewed these Databases questions

Question

What is job rotation ?

Answered: 1 week ago

Question

Discuss the key ambient conditions and their effects on customers.

Answered: 1 week ago

Question

Understand the roles of signs, symbols, and artifacts.

Answered: 1 week ago