Suppose that you have the following definitions:struct time Type struct tourTypen the variable destination of type your type are tourType input(){cout<<"Enter the city, distance and time in hr and min"<>destination.city name;
<h3>What is C++ statements?</h3>
Expression statements. These statements examine an expression for its aspect outcomes or for its go-back value. Null statements. These statements may be supplied in which a declaration is needed with the aid of using the C++ syntax however in which no motion is to be taken.
- #include
- #include
- the use of namespace std;
- struct timeType
- ;
- struct tourType
- ;
- tourType destination;
- tourType input(){
- cout<<"Enter the city, distance and time in hr and min"<>destination.cityName;
- cin>>destination.distance;
- cin>>destination.travelTime.hr;
- cin>>destination.travelTime.min;
- go back destination;
- }
- void display()cityName;
- d.distance = t->distance;
- d.travelTime.hr = t->travelTime.hr;
- d.travelTime.min = t->travelTime.min;">
- int main().
Read more about the variable :
brainly.com/question/2804470
#SPJ1
Answer:
A
Explanation:
A hacker searching for open ports denotes vulnerability of computer (to hacking).
Cheers
Answer:
The answer to this question can be given as:
code:
class CollegeCourse
{
String Dept;
int CourseNumber;
double Credits;
double fee;
}
Explanation:
We all know that class is a collection of data members and member functions. In the above code we use the following syntax for class declaration that can be given as:
Syntax of class declaration :
class class_name
{
data member & member function
}
In the above code firstly we declare a class that is CollegeCourse. In this class, we define a variable that name and datatype is already given in the question that is String Dept, int CourseNumber, double Credits, double fee. In the variables first variable data type is string. It is used for store string value like ('us','xxx','aaa').The second variable datatype is an integer. It is used for store integer value like (1,23,5,56). The third and fourth variable datatype is the same that is double. This data type is used to store the floating-point value.
Answer:
freeware
Explanation:
a freeware is a software that is available free of charge but is not distributed with the source code.
An optical instrument used for viewing small objects is a microscope