본문 바로가기 메뉴 바로가기

수업용 블로그

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

수업용 블로그

검색하기 폼
  • 분류 전체보기 (170)
    • 회사 프로젝트 (0)
    • flutter (1)
    • C (15)
    • C++ (11)
    • API (35)
      • 수업 (8)
      • 과제 (4)
      • DF.project (22)
    • cocos2d (0)
    • Spring (4)
    • HTML&CSS&Javscript&Jquery (22)
    • Unity 3D (5)
      • 팀 프로젝트 (4)
    • JAVA (44)
    • MySQL (11)
    • 웹개발팀프로젝트 (4)
    • Node.js (1)
    • 살면서 다양하게 마주친 에러들(기록용) (17)
    • 오늘의 영어공부 (0)
  • 방명록

전체 글 (170)
190626 사칙연산 입력받기

package prj190626; import java.util.*; public class Switch_3 { public static void main(String[] args) { // TODO Auto-generated method stub System.out.print("기호 입력하셈>>>>"); Scanner scan = new Scanner(System.in); char c = scan.next().charAt(0); //char op = '+'; int num = 8; int num1=2; int result = 0; switch(c){ case '*' : result = num * num1; break; case '+' : result =num+num1; break; case '-': r..

JAVA 2019. 6. 26. 15:40
190626 Switch 문 가위바위보

package prj190626; import java.util.*; public class Switch_4 { public static void main(String[] args) { //Math.random() 사용하기 int user, com; System.out.print("가위(1) 바위(2) 보(3) 중 하나를 입력하세요 >>>>"); Scanner scan = new Scanner(System.in); String tmp = scan.nextLine(); user = Integer.parseInt(tmp); com = (int)(Math.random() *3) +1; System.out.println("당신은 "+user +"입니다."); System.out.println("컴은 "+com+..

JAVA 2019. 6. 26. 15:33
190626 switch 문 예제

package prj190626; import java.util.*; public class Switch_2 { public static void main(String[] args) { // TODO Auto-generated method stub int month = 0; System.out.print("현재 월을 입력하세요"); Scanner scan = new Scanner(System.in); String tmp = scan.nextLine(); month = Integer.parseInt(tmp); switch(month) { case 3: case 4: case 5: System.out.println("봄"); break; case 6: case 7: case 8: System.out.prin..

JAVA 2019. 6. 26. 14:53
이전 1 ··· 31 32 33 34 35 36 37 ··· 57 다음
이전 다음
공지사항
  • 안녕하세요
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 정규식 한글만
  • 이메일 정규식
  • JSON
  • 계좌번호정규식
  • mybatis
  • select제어
  • 정규식 특수문자
  • js
  • no getter for property named
  • 정규식
  • JSON파싱
  • jQuery
  • POI EXCEL
  • poi
  • Spring
  • Failed to load resource: the server responded with a status of 404 (Not Found)
  • Regex
  • ''찾기
  • SpringXmlModelInspection
  • 엑셀다운로드
  • 공백찾기
  • JSON날짜
  • spring error #
  • selectbox
  • spring 엑셀
  • poi 엑셀
  • 인텔리제이
  • IntelliJ #gradle #tomcat #spring #springmvc
  • PageNotFound - No mapping for GET
  • 정규식 숫자만
more
«   2025/09   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바