여러 글 올림
Home
  • 분류 전체보기
    • 과제
      • 백준
      • 202X
    • 자격증
      • 정보처리기사
      • SQLD
    • 프로그래밍언어
      • CSSHTML
      • Python
      • C#
      • C++
Home
  • 분류 전체보기
    • 과제
      • 백준
      • 202X
    • 자격증
      • 정보처리기사
      • SQLD
    • 프로그래밍언어
      • CSSHTML
      • Python
      • C#
      • C++
블로그 내 검색

여러 글 올림

과제/백준 (1)

  • 과제/백준

    [JAVA] 백준 10869번, 10926번

    1. 사칙연산 10869번 두 자연수 A와 B가 주어진다. 이때, A+B, A-B, A*B, A/B(몫), A%B(나머지)를 출력하는 프로그램을 작성하시오. public static void main(String args[]) import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a+b); System.out.println(a-b); System.out.println(a*b); System.out.println(a/b); System.out...

    2023. 3. 28.

이전
1
다음
전체 글 보기
Tistory 로그인
Tistory 로그아웃
로그아웃 글쓰기 관리

Today

Total

Powered by ⓒ Kakao Corp.

Designed by Nana
블로그 이미지
쏘니빔

티스토리툴바