We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Say "Hello, World!" With C++
Say "Hello, World!" With C++
Sort by
recency
|
2526 Discussions
|
Please Login in order to post a comment
include
using namespace std;
int main() { int a, b, sum; cout << "Enter two numbers: "; cin >> a >> b; sum = a + b; cout << "Sum = " << sum; return 0; }
include
using namespace std;
int main() { int a, b, sum; cout << "Enter two numbers: "; cin >> a >> b; sum = a + b; cout << "Sum = " << sum; return 0; }
*// This line includes the standard input-output stream library, *
include
// which allows us to use 'cout' and 'cin'. // This line tells the compiler to use the standard namespace. // So we can directly use 'cout' instead of writing 'std::cout'. using namespace std; // Main Function Start... int main() {
// 'main()' is the entry point of every C++ program. // The program execution starts from here. // Output // This prints the text "Hello, World!" to the cout << "Hello, World!";
}
i started learning c++ again
An ngo that satisfies 80g certificate requirements should give donors a chance to grab tax deductions on their donations as per the Income Tax Act. It increases fundraising through the conversion of donations into a financial venture with credibility and openness to the donors and the charitable organizations.