test overloaded >> and << operators

What will be an ideal response?


```
cout << endl << "Enter an Element with atomic number, name, symbol,"
<< endl << "class, atomic weight and 7 shell electronic "
<< "configuration" << endl << "Example:" << endl
<< "=> 11 Sodium Na alkali_metal 22.9898 2 8 1 0 0 0 0"
<< endl << "=> ";
cin >> elem1;
cout << endl << "Element entered was: " << elem1;

// test accessors
cout << endl << elem1.getName() << " has an atomic number of "
<< elem1.getAtomicNumber() << endl << endl;

return 0;
}

```

Computer Science & Information Technology

You might also like to view...

If using a dual or multiboot configuration, what screen appears during the boot sequence?

A. OS select BIOS screen B. Boot loader menu C. Multi-Windows Login screen D. Secure Boot OS page

Computer Science & Information Technology

List five of the seven concrete elements of the decision maker's physical environment that can be observed by the systems analyst using STROBE.

What will be an ideal response?

Computer Science & Information Technology

What is the MD (make directory) command syntax and options?

What will be an ideal response?

Computer Science & Information Technology

Quick Table formatting cannot be changed

Indicate whether the statement is true or false

Computer Science & Information Technology