Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

life the universe and everything solution c++

#include <iostream>

int main()
{
    int input ;
    while( std::cin >> input && input != 42 ) std::cout << '	' << input << '
' ;
    while( std::cin >> input ) ;
}
Source by www.cplusplus.com #
 
PREVIOUS NEXT
Tagged: #life #universe #solution
ADD COMMENT
Topic
Name
8+6 =