본문 바로가기

Algorithm

백준(baekjoon)(BaekJoon)코딩 1008번:A/B 답

반응형
1
2
3
4
5
6
7
8
9
#include <iostream>
using namespace std;
int main(){
    double A,B;
    cin>>A>>B;
    cout<<fixed;
    cout.precision(9);//소수점 9번째까지 출력
    cout<<A/B;
}
cs