블로그
-
챗GPT(chatgpt)로 로또 번호 생성기 만들기 및 소스 공개 (Ver. 1.0)
while (lottoNumbers.length < 6) { const randomNumber = Math.floor(Math.random() * 45) + 1; if (! lottoNumbers.... return; } document.getElementById('result').innerText = `Generated Lotto Numbers: ${
softone.tistory.com · 2025.02.16
-
[Java] 로또 번호 생성 프로그램(정렬, 랜덤 기능) :: We Can it
구현 로직 로또 번호를 저장할 배열을 선언 1~45까지의 난수를 6개 발생시켜 값을 저장... int lotto_num[] = new int[6]; String result_txt
wecanit.tistory.com · 2022.11.01
-
[Android/Kotlin] 안드로이드 로또 당첨번호 조회하기(2)
Int): Result<LottoApiModel> { val response = RetrofitInstance.... LOADING, null, null) fun success(lotto: LottoApiModel)... 38 45"/> <EditText android:id="@+id/edt_round
android-dev.tistory.com · 2021.01.18
-
[JAVA] 11/23 | 컬렉션(ArrayList, Set, Map), LIFO와 FIFO 컬렉션, Format클래스, ....
Person p3 = new Person("3333", "zizi", 45); ArrayList al = new ArrayList(); al.add(p1); al.add(p2)... age=45] ㅇset 컬렉션 set컬렉션은 저장 순서가 유지되지 않는다. list 컬렉션은...
earthconquest.tistory.com · 2020.11.22
-
로또번호 생성기 4.0 (제외수 지정 가능) :: juragi
lotto 제외수: (직접 입력하거나 아래 번호 클릭하여 선택) 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 추첨하기
lasdri.tistory.com · 2020.05.04