Say "Hello, World!" With C++

Sort by

recency

|

2526 Discussions

|

  • + 0 comments

    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; }

  • + 0 comments

    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; }

  • + 0 comments

    *// 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!";

    Follow Me Linkedin: www.linkedin.com/in/nayem099
    Follow Me GitHub: https://github.com/Nayem-99
    
    
    
    
    
    screen.
    
    return 0;        // This returns 0 to the operating system, 
                     // meaning the program finished successfully.
    

    }

  • + 0 comments

    i started learning c++ again

  • + 0 comments

    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.