Question: Windows 7 Spring 2018 ine yoyy struct tourType ( int distance time Type travelTime dateType travelStartDate, int numDays 2: a Write a statement that declares

 Windows 7 Spring 2018 ine yoyy struct tourType ( int distance
time Type travelTime dateType travelStartDate, int numDays 2: a Write a statement
that declares an array of 5 tourType. Name the array as "vocation".
(5 pts) b. Write a function, findLongest, that takes the vocation and
vocationSize (of value equal to 5) as its parameters, then return the

Windows 7 Spring 2018 ine yoyy struct tourType ( int distance time Type travelTime dateType travelStartDate, int numDays 2: a Write a statement that declares an array of 5 tourType. Name the array as "vocation". (5 pts) b. Write a function, findLongest, that takes the vocation and vocationSize (of value equal to 5) as its parameters, then return the element of vocation which has the longest distance. Note: your fiunction should return a tourType instcad of void. (15 pts) Windows 7 Spring 2018 ine yoyy struct tourType ( int distance time Type travelTime dateType travelStartDate, int numDays 2: a Write a statement that declares an array of 5 tourType. Name the array as "vocation". (5 pts) b. Write a function, findLongest, that takes the vocation and vocationSize (of value equal to 5) as its parameters, then return the element of vocation which has the longest distance. Note: your fiunction should return a tourType instcad of void. (15 pts)

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!