Say "Hello, World!" With C++ | HackerRank
Say "Hello, World!" With C++ | HackerRank
Practice printing to stdout.
www.hackerrank.com
Goal
Solution
This is simple challenge to print "Hello, World!" to stdout. We can use easily an object of class iostream. "std::cout."
// Say "Hello, World!" With C++
#include <iostream>
#include <cstdio>
using namespace std;
int main() {
cout << "Hello, World!" << endl;
return 0;
}
'software Engineering > (C++)HackerRank' 카테고리의 다른 글
[C++] HackerRank - Functions (0) | 2023.02.04 |
---|---|
[C++] HackerRank - For Loop (0) | 2023.01.24 |
[C++] HackerRank - Conditional Statements (0) | 2023.01.24 |
[C++] HackerRank - Basic Data Types (0) | 2023.01.22 |
[C++] HackerRank - "Input and Output" (0) | 2023.01.18 |