Desc :
Source Code :
#include <iostream>
using namespace std;
int main()
{
int x = 1;
int y = 2;
int sum = x + y;
cout << "1+2=" << sum << endl;
return 0;
}
Result :
'C++' 카테고리의 다른 글
[C++] 006 사칙연산 축약 (0) | 2021.01.22 |
---|---|
[C++] 005 사칙연산 (0) | 2021.01.22 |
[C++] 004 상수 (0) | 2021.01.22 |
[C++] 002 콘솔창 출력 (0) | 2021.01.22 |
[C++] 001 C++ 시작 (0) | 2021.01.22 |