백준(C, C++)/브론즈

백준 1008 A/B [C++]

치킨먹고싶어요 2022. 5. 29. 17:07
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
 
using namespace std;
int main() {
    double val1, val2;
    cin >> val1 >> val2;
    cout << fixed;
    cout.precision(10);
    cout << val1 / val2;
}
 
cs

cout.precision만 해 주시면 됩니다