A variable c of type char has been declared. Write the necessary code to read in the next character from standard input and store it in c, regardless of whether is a whitespace character.
.
.
Click on the title for the solution
.
.
cin.get(c);
cout<<c;
.
Click on the title for the solution
.
.
This is the answer:
:
cin.get(c);
cout<<c;
Comments
Post a Comment