cpp:io: added additional comments for clarity
This commit is contained in:
parent
4dabc47832
commit
724f05cbef
@ -14,9 +14,17 @@ int main(){
|
|||||||
int input_2;
|
int input_2;
|
||||||
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 "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user