일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- GT-S80
- pip
- E-P1
- Series
- synology
- RNN
- LSTM
- GitHub
- 삼성소프트웨어멤버십
- Numpy
- dataframe
- CNN
- pandas
- javascript
- pycharm
- mariadb
- Splunk
- index
- install
- mean
- Lotto
- imread
- SciPy
- SPL
- DFS
- Python
- Button
- ipad
- keras
- 알고리즘
Archives
- Today
- Total
잠토의 잠망경
Ex5-test 본문
import java.util.*; public class ex5 { /** * @param args */ public static int[] a; public static void main(String[] args) { // TODO Auto-generated method stub Random rnd=new Random(System.currentTimeMillis()); a=new int[10]; for(int i=0;i<10;i++) { a[i]=rnd.nextInt(200); System.out.println("a["+i+"]"+a[i]); } System.out.println("합계"+sum()); } public static int sum() { int ret=0; for(int i=0;i<10;i++) { ret+=a[i]; } return ret; } }
Comments