#include <iostream>
#include <cmath>

int main() {
    // 使用 std::round() 函数进行四舍五入操作
    double number = 4.6;
    double roundedNumber = std::round(number);

    // 输出结果
    std::cout << "Rounded value of " << number << " is: " << roundedNumber << std::endl;

    return 0;
}