cpp:io: added additional comments for clarity

This commit is contained in:
Logen Kain 2017-05-13 19:08:35 -07:00
parent 4dabc47832
commit 724f05cbef

View File

@ -15,8 +15,16 @@ int main(){
input_1 = 0; input_1 = 0;
input_2 = 0; input_2 = 0;
/*
* For some reason this is deliminated by spaces
* if only one number is given, it will wait for another input
*/
std::cin >> input_1 >> input_2; std::cin >> input_1 >> input_2;
/*
* formated for legability
* we are putting all those things into std::cout in the order they appear
*/
std::cout << "The numbers " std::cout << "The numbers "
<< input_1 << input_1
<< " and " << " and "