728x90 320x100 SMALL [JAVAScript] document.write 잘뜸 ‘\n'은 빈칸하나 의미 document.write() 활용 조건문, for문 다 가능 잘돌아가는 것을 알 수 있다 input = prompt("숫자를 입력하세요","35000"); x = parseInt(input); input = prompt("숫자를 입력하세요","35000"); y = parseInt(input); sum= x+y; document.write("x의 값은"+x+"y의 값은"+y+"총값은"+sum);; input = prompt("데이터입력(덧셈1,뺄셈2,곱셈3,나눗셈4)","1"); select = parseInt(input); input = prompt("숫자를 입력하세요","35000"); x = parseInt(input); input = prompt("숫자를 입력하세요.. 2022. 12. 16. 이전 1 다음 728x90 반응형 BIG