[백준] 1008번 : A/B - C++

강재원·2022년 9월 9일
0

[코딩테스트] C/C++

목록 보기
21/200



https://www.acmicpc.net/problem/1008

#include <iostream>

using namespace std;

int main() {
    int a,b;
    cin >> a>>b;
    cout.setf(ios::fixed);
    cout.precision(9);
    cout << (double) a/b;
}
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글