Use cin to read integers from input until 999 is read. For each ...

Use cin to read integers from input until 999 is read. For each ...

More to explore