Write code to do the following(C++): (note: this question tests your mastery level of using cin. You
Fantastic news! We've Found the answer you've been seeking!
Question:
Write code to do the following(C++):
(note: this question tests your mastery level of using cin. You have to use "cin>>" to separate characters and numbers.)
As long as there are input from the keyboard buffer, display each item on a separate line in this way:
if it is a number, display the enter number.
if it is a character, display that character.
For example, if the user enters It is 3.24.
The output should be
I
t
i
s
3.24
Related Book For
Principles of Corporate Finance
ISBN: 978-0077404895
10th Edition
Authors: Richard A. Brealey, Stewart C. Myers, Franklin Allen
Posted Date: