add c++ solution
add hello world example project
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "Hello" << " " << "World!" << std::endl;
|
||||
|
||||
int number = 10;
|
||||
|
||||
cout << number << endl;
|
||||
|
||||
cin >> number;
|
||||
cout << "Input: " << number << endl;
|
||||
|
||||
char c;
|
||||
cin >> c;
|
||||
cout << "Input: " << c << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user