백준 10869번 node.js
문제 두 자연수 A와 B가 주어진다. 이때, A+B, A-B, A*B, A/B(몫), A%B(나머지)를 출력하는 프로그램을 작성하시오. 입력 두 자연수 A와 B가 주어진다. (1 ≤ A, B ≤ 10,000) 출력 첫째 줄에 A+B, 둘째 줄에 A-B, 셋째 줄에 A*B, 넷째 줄에 A/B, 다섯째 줄에 A%B를 출력한다. 예제 입력 1 복사 7 3 예제 출력 1 복사 10 4 21 2 1 정답 const fs= require("fs"); const input = fs.readFileSync("/dev/stdin").toString().split(" "); const a = parseInt(input[0]); const b = parseInt(input[1]); console.log(a+b); conso..
html 간단 정리
box - header, footer, nav, aside, main, section, article, div, span, form item - a, button, input, label, img, video, audio, map, canvas, table block 한 줄에 하나 inline 공간이 허용하면 옆에 위치 ol>li*3 그리고 tab을 누르면 ol안에 리스트 세개 생성 입력받기 name: type = file, password, text....etc F12로 박스보기