extract from input source the two components of a Vector object istream& operator>>( istream& is, Vect& avect )
What will be an ideal response?
```
{
double degrees;
double minutes;
double radians;
is >> avect.r >> degrees >> minutes;
radians = (degrees + minutes/60) * 2 * Pi / 360;
while( radians >= 2*Pi )
radians -= 2*Pi;
avect.theta = radians;
return is;
}
```
Computer Science & Information Technology
You might also like to view...
Report view allows you to change the page layout such as from landscape to portrait view, or to change margins
Indicate whether the statement is true or false
Computer Science & Information Technology
A company investigated a security breach and found that employee photos, names, and addresses were stolen. What type of information is this?
A) PII B) ESD C) OSHA D) USERID
Computer Science & Information Technology