Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- Project
- 자바독학
- SNS
- C++
- java정리
- 풀스택프레임워크
- 코딩테스트
- java
- 이웃한 칸
- 프로그래머스
- 개발자
- 개인프로젝트
- 코스닥
- 코딩
- 자바
- 백준
- 빅데이터
- Reflex
- 코딩독학
- backend
- 개발
- 프로그래밍
- frontend
- 프로그램
- 코테
- 사물인터넷
- 주가예측
- 자바정리
- 모의 주식
- Python
Archives
- Today
- Total
목록주식 (1)
Creative Code
[c++]주식 자동 거래
#include #include #include #include #include using namespace std; int main() { int buy = 0; //주식 구매수량 long long buy_price = 0; // 구매한 주식의 가치 long long sum; //현금보유량 + 주식의가치(총가치) srand((unsigned int)time(NULL)); cout > Money; long long save = Money; bool check = false; cout > before_price; sum = Money + (long long)buy * (long long)(buy_price); cout
혼자 만든 Code
2022. 7. 3. 21:43