Question: 1. The following requirements are for a program that maintains boats docked in a harbor. a. Define a structure to store the following data on

1. The following requirements are for a program that maintains boats docked in a harbor.

a. Define a structure to store the following data on boats docked in the harbor: owners last name, telephone number, boat license number, both length, boat name, and dock number where the boat is currently docked.

b. Write a function that called createBoat() that creates a boat by requesting the data from the user and returns it back.

c. Write a function called displayBoat() that takes a boat and displays its details.

d. Define an array of maximum of 500 boats that can represent the boats on that harbor.

e. Write a function called insertBoat() that inserts a new boat to your harbor.

f. Write a function that searchBoat() that searches a boat in the harbor by given its license number. It returns true if it is at the harbor.

Need in C(stdio.h and stdlib.h)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!