rewrite small numbers from input to output. Stop processing input after reading in the number 42. All numbers at input are integers of one or two digits. code example
Example: life the universe and everything solution c++
#include <iostream>
int main()
{
int input ;
while( std::cin >> input && input != 42 ) std::cout << '\t' << input << '\n' ;
while( std::cin >> input ) ;
}