Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion GettingStarted/sumTwoNumbers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@

- single line comments can be inserted after // (two back-slashes).
*/

#include <iostream>

/*
- all the input-output related routines can be called in std namespace, so
instead of everytime using std::cin and std::cout,
we directly use the namespace std in the whole program.
*/

using namespace std;

// every C++ program has a main FUNCTION which gets executed when we execute the program.
Expand All @@ -27,6 +29,7 @@ using namespace std;
function body;
}
*/

int main(){

/*
Expand Down Expand Up @@ -103,4 +106,4 @@ int main(){
The sum of the given numbers is: 11

Thank you. See you in the next program!
*/
*/