1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #include <iostream> using namespace std; int main() { float a = 3.4 + 0.1; float b = 1.1 + 0.1; if (a == 3.5) cout << "true" << endl; else cout << "false" << endl; if (b == 1.2) cout << "true" << endl; else cout << "false" << endl; return 0; } | cs |
실제 저장값
댓글 없음:
댓글 쓰기