Question: In c++, make a method named ReadStdIn, which takes no parameters. It will read from standard in until the input is p, then stop. This
In c++, make a method named ReadStdIn, which takes no parameters. It will read from standard in until the input is "p", then stop.
This method will print the number of items you have read in (not including "p"). Input is case-sensitive.
Your main should be named review.cpp
header.h:
#pragma once
void ReadStdIn();
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
