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
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