Question: C++ using eclipse Only having trouble with E so far I have: Void copyTourType(tourType& tType1) { tourType, tType2; tType2 tType2 tType2 tType2 tType2 8. Suppose

 C++ using eclipse Only having trouble with E so far I

C++ using eclipse

Only having trouble with E

so far I have:

Void copyTourType(tourType& tType1)

{

tourType, tType2;

tType2

tType2

tType2

tType2

tType2 8. Suppose that you have the following definitions: (8) struct timeType struct tourType int hr double min; int seci string cityName: int distance; timeType travelTime 1: 1a a. Declare the variable destination of type tourType . Write C++ statements to store the following data in destination: cityName Chicago, distance 550 miles, travelTime 9 hours and 30 minutes. Write the definition of a function to output the data stored in a variable of type tourType Write the definition of a value-returning function that inputs data into a variable of type tourType. c. e Write the definition of a void function with a reference parameter of type tourType to input data in a variable of type tourType

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!